[ovs-dev] [PATCH 1/4] pinctrl: Fix memory leak

Ben Pfaff blp at ovn.org
Tue Jan 23 00:41:13 UTC 2018


On Fri, Jan 12, 2018 at 09:45:29AM -0800, Yifeng Sun wrote:
> This bug is reported by valgrind (testing ovn -- 3 HVs, 1 LS, 3 lports/HV):
> 
> 51,680 (27,968 direct, 23,712 indirect) bytes in 76 blocks are definitely lost in loss record 72 of 72
>    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
>    by 0x4A8992: xcalloc (util.c:103)                                   
>    by 0x493052: ovsdb_idl_index_init_row (ovsdb-idl.c:2343)            
>    by 0x413F69: send_ipv6_ras (pinctrl.c:1321)                         
>    by 0x413F69: pinctrl_run (pinctrl.c:1093)                           
>    by 0x407348: main (ovn-controller.c:703)
> 
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>

Thanks, applied to master and branch-2.9.


More information about the dev mailing list