From: Yunjian Wang <[email protected]>

Fixes: ffdcd110fa62 ("dpctl: Make opt_dpif_open() more general.")
Signed-off-by: Yunjian Wang <[email protected]>
---
 lib/dpctl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/dpctl.c b/lib/dpctl.c
index 743944d..2f8498f 100644
--- a/lib/dpctl.c
+++ b/lib/dpctl.c
@@ -202,6 +202,8 @@ dp_exists(const char *queried_dp)
 
     sset_destroy(&dpif_names);
     sset_destroy(&dpif_types);
+    free(queried_name);
+    free(queried_type);
     return found;
 }
 
-- 
1.8.3.1


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to