Re: [PATCH] cachefilesd: avoid memory leak on failure exit

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

 



Wang Sheng-Hui <shhuiw@xxxxxxxxx> wrote:

> On failure exit, we may have allocated space for the culltalbes.
> Free the space before exit.

Why?  That's pointless.  On exit() the kernel will dispose of them anyway.
Quite likely, the memory won't be returned to the kernel at this point.

David

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux