(transform_source): fix memory leak in error case.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2017-04-08 21:15:31 +03:00
parent 763e996076
commit 1337ed1c55

View File

@ -246,6 +246,7 @@ transform_source (file_op_context_t * ctx, const vfs_path_t * source_vpath)
if (ctx->search_handle->error_str != NULL)
message (D_ERROR, MSG_ERROR, "%s", ctx->search_handle->error_str);
g_free (q);
q = NULL;
transform_error = FILE_ABORT;
}