[ovs-dev] [PATCH 1/2] connmgr: Fix memory leak in ofconn monitor table.

Ethan Jackson ethan at nicira.com
Tue Mar 12 01:49:53 UTC 2013


Acked-by: Ethan Jackson <ethan at nicira.com>



On Mon, Feb 11, 2013 at 3:17 PM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  ofproto/connmgr.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
> index b94c337..3200660 100644
> --- a/ofproto/connmgr.c
> +++ b/ofproto/connmgr.c
> @@ -1177,6 +1177,7 @@ ofconn_destroy(struct ofconn *ofconn)
>          hmap_remove(&ofconn->connmgr->controllers, &ofconn->hmap_node);
>      }
>
> +    hmap_destroy(&ofconn->monitors);
>      list_remove(&ofconn->node);
>      rconn_destroy(ofconn->rconn);
>      rconn_packet_counter_destroy(ofconn->packet_in_counter);
> --
> 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/20130311/ec8a2d0c/attachment-0003.html>


More information about the dev mailing list