[ovs-dev] [leaks 3/7] ofproto-dpif-governor: Fix small memory leak.

Ethan Jackson ethan at nicira.com
Tue Jan 8 21:32:18 UTC 2013


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


On Wed, Dec 26, 2012 at 12:38 PM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  ofproto/ofproto-dpif-governor.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/ofproto/ofproto-dpif-governor.c
> b/ofproto/ofproto-dpif-governor.c
> index 506dadb..a2ada30 100644
> --- a/ofproto/ofproto-dpif-governor.c
> +++ b/ofproto/ofproto-dpif-governor.c
> @@ -71,6 +71,7 @@ governor_destroy(struct governor *g)
>  {
>      if (g) {
>          VLOG_INFO("%s: disengaging", g->name);
> +        free(g->name);
>          free(g->table);
>          free(g);
>      }
> --
> 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/20130108/36caf275/attachment-0003.html>


More information about the dev mailing list