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

Ben Pfaff blp at nicira.com
Wed Jan 9 01:12:22 UTC 2013


Thanks, applied to master, currently backporting to branch-1.9.

On Tue, Jan 08, 2013 at 01:32:18PM -0800, Ethan Jackson wrote:
> 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
> >



More information about the dev mailing list