summaryrefslogtreecommitdiffstats
path: root/src/plugins/lldp/CMakeLists.txt
diff options
context:
space:
mode:
authorDmitry Vakhrushev <dmitry@netgate.com>2020-10-12 13:43:39 +0300
committerDmitry Vakhrushev <dmitry@netgate.com>2020-10-12 14:04:34 +0300
commitdecf51a86ac5df4892d0408b3770f7f8b3afe13d (patch)
treead30462047f3afecf797becb32b53568a8719044 /src/plugins/lldp/CMakeLists.txt
parent6b410e6d7c0f7c8de0453a6e8b19e408b0bd0158 (diff)
lldp: fix memory leakage
1. Typo in usage of vnet_hw_interface_add_del_mac_address(), which returns 0 when it succeeds instead non zero value. 2. Generated error doesn't clean allocated resources for an interface. 3. Returned value from vnet_hw_interface_add_del_mac_address() should be erased or reported. Type: fix Fixes: 149fd3fbd069a5f7be86e68472578ee7af229cb6 Signed-off-by: Dmitry Vakhrushev <dmitry@netgate.com> Change-Id: Ia6b28ae70fea127d15eb0102223ff972358766bc Signed-off-by: Dmitry Vakhrushev <dmitry@netgate.com>
Diffstat (limited to 'src/plugins/lldp/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions