[ovs-git] [openvswitch/ovs] d1a74e: test-sflow: Fix memory leak in main function.
GitHub
noreply at github.com
Mon Jan 4 19:26:11 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: d1a74e5e4ff438f805e94ead2440c5f3fa56ffdc
https://github.com/openvswitch/ovs/commit/d1a74e5e4ff438f805e94ead2440c5f3fa56ffdc
Author: Ilya Maximets <i.maximets at samsung.com>
Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths:
M tests/test-sflow.c
Log Message:
-----------
test-sflow: Fix memory leak in main function.
Reported by valgrind on test case 886.
912 (24 direct, 888 indirect) bytes in 1 blocks are definitely lost
at malloc
by xmalloc (util.c:112)
by unixctl_server_create (unixctl.c:250)
by test_sflow_main (test-sflow.c:688)
by ovstest_wrapper_test_sflow_main__ (test-sflow.c:786)
by ovs_cmdl_run_command (command-line.c:121)
by main (ovstest.c:132)
1,500 bytes in 1 blocks are definitely lost
at malloc
by xmalloc (util.c:112)
by ofpbuf_init (ofpbuf.c:124)
by test_sflow_main (test-sflow.c:696)
by ovstest_wrapper_test_sflow_main__ (test-sflow.c:786)
by ovs_cmdl_run_command (command-line.c:121)
by main (ovstest.c:132)
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list