lkml.org 
[lkml]   [2008]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 2/9] fs/exec.c: fix resource leaks and wrong goto's
On Thu, May 08, 2008 at 09:52:27PM +0800, WANG Cong wrote:
> When ->load_binary() successed, free_arg_pages() should be called to
> clean the pages allocated by copy_strings_kernel() within it.

Eh? Success or not, free_arg_pages() will eventually be called by do_execve();
so what problem are you trying to solve?


\
 
 \ /
  Last update: 2008-05-10 21:19    [W:0.130 / U:1.848 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site