Re: [PATCH] vfs:Fix memory leak on error path in get_empty_file

2016-07-23 Thread Theodore Ts'o
On Fri, Jul 22, 2016 at 11:47:35AM +0100, Catalin Marinas wrote: > I can't find the original post (probably it only went to the > linux-fsdevel list), so replying to Nicholas here: You couldn't find the original post because there is a *reason* why Nick has been banned from bugzilla.kernel.org, an

Re: [PATCH] vfs:Fix memory leak on error path in get_empty_file

2016-07-22 Thread Catalin Marinas
I can't find the original post (probably it only went to the linux-fsdevel list), so replying to Nicholas here: > On Thu, Jul 21, 2016 at 10:53:37PM -0400, Nicholas Krause wrote: >> This fixes a memory leak on the error path if the call to >> security_file_alloc fails to run successfully as detect

Re: [PATCH] vfs:Fix memory leak on error path in get_empty_file

2016-07-21 Thread Al Viro
On Thu, Jul 21, 2016 at 10:53:37PM -0400, Nicholas Krause wrote: > This fixes a memory leak on the error path if the call to > security_file_alloc fails to run successfully as detected > in this trace by kmemleak: > [ 321.783718] ath9k :03:00.0 eth0: renamed from wlan0 > [ 330.960024] atl1c 0