mcexec_open_exec() fix filename memory leak
This commit is contained in:
@ -1575,6 +1575,7 @@ int mcexec_open_exec(ihk_os_t os, char * __user filename)
|
|||||||
dprintk("%d open_exec and holding file: %s\n", (int)task_tgid_vnr(current),
|
dprintk("%d open_exec and holding file: %s\n", (int)task_tgid_vnr(current),
|
||||||
kfilename);
|
kfilename);
|
||||||
|
|
||||||
|
kfree(kfilename);
|
||||||
kfree(pathbuf);
|
kfree(pathbuf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user