summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/unittest/api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/unittest/api_test.c b/src/plugins/unittest/api_test.c
index 4bed50c2969..515bafefa36 100644
--- a/src/plugins/unittest/api_test.c
+++ b/src/plugins/unittest/api_test.c
@@ -38,6 +38,7 @@ connect_to_vpp (void)
true) != VAPI_OK)
{
clib_warning ("vapi_connect failed");
+ vapi_ctx_free (ctx);
return 0;
}
return ctx;