From: Justin Pettit Date: Mon, 21 Feb 2011 23:58:19 +0000 (-0800) Subject: ovs-brcompatd: Fix memory leak in handle_fdb_query_cmd(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05edc34ca119606f349c6557f2fbe682861ab3d8;p=openvswitch ovs-brcompatd: Fix memory leak in handle_fdb_query_cmd(). Coverity #10731 --- diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index a89ea2af..fe953f43 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -965,6 +965,7 @@ handle_fdb_query_cmd(const struct ovsrec_open_vswitch *ovs, /* Free memory. */ ofpbuf_uninit(&query_data); + free(local_macs); return 0; }