Commit 351a47ab authored by Arun Sharma's avatar Arun Sharma Committed by David Mosberger

[PATCH] ia64: fix ia32 execve memory leak

The attached patch by Tony Luck fixes a memory leak in the ia32 execve code
path.
parent 050716fa
...@@ -170,9 +170,9 @@ sys32_execve (char *filename, unsigned int argv, unsigned int envp, ...@@ -170,9 +170,9 @@ sys32_execve (char *filename, unsigned int argv, unsigned int envp,
current->thread.map_base = old_map_base; current->thread.map_base = old_map_base;
current->thread.task_size = old_task_size; current->thread.task_size = old_task_size;
set_fs(USER_DS); /* establish new task-size as the address-limit */ set_fs(USER_DS); /* establish new task-size as the address-limit */
}
out: out:
kfree(av); kfree(av);
}
return r; return r;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment