mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(exec_extension): fix memory leak.
Found by Coverity. Coverity id #331829. Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4db80f3010
commit
c15b752fbf
@ -460,6 +460,7 @@ exec_extension (WPanel * panel, void *target, const vfs_path_t * filename_vpath,
|
||||
{
|
||||
message (D_ERROR, MSG_ERROR,
|
||||
_("Cannot create temporary command file\n%s"), unix_error_string (errno));
|
||||
g_string_free (shell_string, TRUE);
|
||||
goto ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user