[ovs-dev] [PATCH] ovsdb-idl: Fix memory leak.
Mehak Mahajan
mmahajan at nicira.com
Thu Aug 16 00:35:47 UTC 2012
Hey Ben,
Looks good.
thanx!
mehak
On Wed, Aug 15, 2012 at 4:19 PM, Ben Pfaff <blp at nicira.com> wrote:
> Found by valgrind.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> lib/ovsdb-idl.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c
> index 534beb0..6118852 100644
> --- a/lib/ovsdb-idl.c
> +++ b/lib/ovsdb-idl.c
> @@ -230,6 +230,7 @@ ovsdb_idl_destroy(struct ovsdb_idl *idl)
> json_destroy(idl->monitor_request_id);
> free(idl->lock_name);
> json_destroy(idl->lock_request_id);
> + hmap_destroy(&idl->outstanding_txns);
> free(idl);
> }
> }
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20120815/5c081119/attachment-0003.html>
More information about the dev
mailing list