Re: [Patch] lib/mangle.c: fix a memory leak in the test case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 20, 2012 at 04:42:05PM +0800, Cong Wang wrote:
> From: Cong Wang <xiyou.wangcong@xxxxxxxxx>
> 
> Marek reported there is a memory leak in lib/mangle.c
> 
>   CC       mangle.o
> mangle.c:160:9: warning: Memory is never released; potential leak of memory pointed to by 'ss'

 We usually ignore free-before-exit, but test programs are exception.
 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux