[ovs-dev] [PATCH 3/3] bfd: Fix memory leak
Ben Pfaff
blp at ovn.org
Wed Nov 29 22:17:39 UTC 2017
On Wed, Nov 15, 2017 at 06:59:26AM -0800, Yifeng Sun wrote:
> 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>
Thanks, applied to master and branch-2.8.
More information about the dev
mailing list