mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(transform_source): fix memory leak in error case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
763e996076
commit
1337ed1c55
@ -246,6 +246,7 @@ transform_source (file_op_context_t * ctx, const vfs_path_t * source_vpath)
|
|||||||
if (ctx->search_handle->error_str != NULL)
|
if (ctx->search_handle->error_str != NULL)
|
||||||
message (D_ERROR, MSG_ERROR, "%s", ctx->search_handle->error_str);
|
message (D_ERROR, MSG_ERROR, "%s", ctx->search_handle->error_str);
|
||||||
|
|
||||||
|
g_free (q);
|
||||||
q = NULL;
|
q = NULL;
|
||||||
transform_error = FILE_ABORT;
|
transform_error = FILE_ABORT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user