diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-01-30 18:16:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-01-30 18:16:46 +0000 |
commit | d013cc961c1007cd6e4cfa26cfcb453cfbb4d4e9 (patch) | |
tree | 05fc7beec63681a9e07bd6c1b6544f9c40a51503 | |
parent | 682bcaab3bcf34f55fbd2052e56d2c8c4ca74bdb (diff) | |
parent | 4d33f144615af8707e7b56baebee82695918dbdc (diff) |
Merge "[HICN-495] Removed wrong free before returnin the data"
-rw-r--r-- | ctrl/libhicnctrl/src/hicn_plugin_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrl/libhicnctrl/src/hicn_plugin_api.c b/ctrl/libhicnctrl/src/hicn_plugin_api.c index 70e0556a9..0b387404b 100644 --- a/ctrl/libhicnctrl/src/hicn_plugin_api.c +++ b/ctrl/libhicnctrl/src/hicn_plugin_api.c @@ -792,6 +792,9 @@ int _hc_route_list(hc_sock_t *s, hc_data_t **pdata, bool async) { *pdata = data; + vapi_unlock(); + return ret; + err_free: free(data); err: |