Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: Fix memory leak.

2013-08-19 Thread Ethan Jackson
Acked-by: Ethan Jackson On Mon, Aug 19, 2013 at 10:26 AM, Ben Pfaff wrote: > dpif_sflow_set_options() uses xcalloc() to allocate space for the SFLAgent > structure, but nothing ever freed it. This fixes the problem. > > Found by valgrind. > > Signed-off-by: Ben Pfaff > --- > ofproto/ofproto-

[ovs-dev] [PATCH] ofproto-dpif-sflow: Fix memory leak.

2013-08-19 Thread Ben Pfaff
dpif_sflow_set_options() uses xcalloc() to allocate space for the SFLAgent structure, but nothing ever freed it. This fixes the problem. Found by valgrind. Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif-sflow.c |1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto-dpif-sflo