diff options
author | dimitri staessens <[email protected]> | 2016-08-04 12:53:28 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-08-04 17:17:49 +0200 |
commit | 139001b60b32e756e947d6e3a55767be9063029d (patch) | |
tree | 45a23543682a69151622cda6100eb1656c64c773 /src/ipcpd/shim-eth-llc | |
parent | c9cffcf863b23e75ccb6d7800ac0d48fd1612259 (diff) | |
download | ouroboros-139001b60b32e756e947d6e3a55767be9063029d.tar.gz ouroboros-139001b60b32e756e947d6e3a55767be9063029d.zip |
ipcpd: Fix memory leaks
ipcp-data was not correctly destroyed.
Diffstat (limited to 'src/ipcpd/shim-eth-llc')
-rw-r--r-- | src/ipcpd/shim-eth-llc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c index f98799a5..3b70b955 100644 --- a/src/ipcpd/shim-eth-llc/main.c +++ b/src/ipcpd/shim-eth-llc/main.c @@ -218,7 +218,7 @@ void eth_llc_ipcp_data_destroy() pthread_rwlock_unlock(&shim_data(_ipcp)->flows_lock); pthread_rwlock_unlock(&_ipcp->state_lock); - free(_ipcp->data); + ipcp_data_destroy(_ipcp->data); } /* only call this under flows_lock */ |