[ovs-git] Open vSwitch: ofproto-dpif-sflow: Fix memory leak. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 20 18:27:41 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  0891637f67671c0654b9ff6b4c25a654375d24e2 (commit)
      from  56450a416cbf8f770d7511b18624e0d057e2b449 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0891637f67671c0654b9ff6b4c25a654375d24e2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0891637f67671c0654b9ff6b4c25a654375d24e2
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif-sflow: Fix memory leak.
		
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 <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ofproto/ofproto-dpif-sflow.c |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list