Clean up open_exec()/kmalloc() error case handling.
It's a purely theoretical bug, since the kmalloc() failure that might "leak" file descriptors cannot actually happen (we do not ever fail small GFP_KERNEL allocations), but it's good to do things properly. Noted by Brad Spender.
Showing
Please register or sign in to comment