Re: [PATCH 3/4] logger: fix memory leaks [asan]

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

 




On 09/15/2017 07:05 AM, Karel Zak wrote:
> On Mon, Sep 11, 2017 at 08:57:16PM +0100, Sami Kerola wrote:

 8< ---

>  The mem-leaks are bad thing in daemons, libs, libs tests, and
>  allocation in loop is dangerous, otherwise for command line utils you
>  waste time with this kind of free() calls, because kernel on exit()
>  will be faster to remove all the program from memory. 

Does this rule apply to the free() calls in hwclock.c?

> 
>     Karel
> 
--
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