diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2019-02-01 17:06:27 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2019-02-01 17:06:27 +0800 |
commit | b27867055ba3a9545824f2c48862a072175e0e21 (patch) | |
tree | c9cc4eab02482c58d0027e5b35a49f7d0dc59b0a /src/scvpp | |
parent | 6f12c2eed071663c8dd9b6d33abc96b1eb9a48bf (diff) |
Fix reconnect failure issuev19.01-rc2
Change-Id: I6b809f4f025d9b2ce3bef2ef2c1a499758883b69
Signed-off-by: Xiaobo Chen <Xiaobo.Chen@tieto.com>
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/scvpp')
-rw-r--r-- | src/scvpp/src/sc_vpp_comm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scvpp/src/sc_vpp_comm.c b/src/scvpp/src/sc_vpp_comm.c index 0df9426..9059ff7 100644 --- a/src/scvpp/src/sc_vpp_comm.c +++ b/src/scvpp/src/sc_vpp_comm.c @@ -32,6 +32,7 @@ int sc_connect_vpp() if (rv != VAPI_OK) { SC_LOG_ERR("*connect %s faild,with return %d", APP_NAME, rv); + vapi_ctx_free(g_vapi_ctx_instance); return -1; } SC_LOG_DBG("*connected %s ok", APP_NAME); |