From 4d33f144615af8707e7b56baebee82695918dbdc Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 30 Jan 2020 17:09:47 +0100 Subject: [HICN-495] Removed wrong free before returnin the data Change-Id: Ibad8a7f737b30c3c719f5ccbc0635b2948affdce Signed-off-by: Alberto Compagno --- ctrl/libhicnctrl/src/hicn_plugin_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ctrl') 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: -- cgit 1.2.3-korg