vapi: fix vapi test coverity warning 84/34084/3
authorFlorin Coras <fcoras@cisco.com>
Tue, 12 Oct 2021 20:55:19 +0000 (13:55 -0700)
committerOle Tr�an <otroan@employees.org>
Wed, 13 Oct 2021 14:31:21 +0000 (14:31 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I5ecb73009c6ebb00b5d9e14bd09b4b3e80ab5601

src/vpp-api/vapi/vapi_c_test.c

index efa6a73..52b930d 100644 (file)
@@ -910,6 +910,7 @@ START_TEST (test_api_strings)
   /* Assert nul terminator NOT present */
   ck_assert_int_eq (vec_len (vstr), strlen (str));
   vec_free (vstr);
+  free (dump);
 }
 
 END_TEST;