[ovs-git] [openvswitch/ovs] 6a07cc: bfd: Fix memory leak
GitHub
noreply at github.com
Wed Nov 29 22:16:53 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 6a07ccaadb38ffbcf8a309d92df48e5587900c39
https://github.com/openvswitch/ovs/commit/6a07ccaadb38ffbcf8a309d92df48e5587900c39
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2017-11-29 (Wed, 29 Nov 2017)
Changed paths:
M ovn/controller/bfd.c
Log Message:
-----------
bfd: Fix memory leak
Valgrind complains in test 2359 ():
864 (576 direct, 288 indirect) bytes in 18 blocks are definitely
lost in loss record 96 of 101
by 0x4A6D64: xmalloc (util.c:120)
by 0x40BC04: gateway_chassis_get_ordered (gchassis.c:73)
by 0x408CF0: bfd_calculate_chassis (bfd.c:219)
by 0x408CF0: bfd_run (bfd.c:257)
by 0x407F72: main (ovn-controller.c:718)
gateway_chassis wasn't released before the 'continue' line.
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Tested-by: Greg Rose <gvrose8192 at gmail.com>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
More information about the git
mailing list