diff options
Diffstat (limited to 'src/scvpp/src/sc_vpp_comm.c')
-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); |