(patch.c) apply_patch_content - fix memory leak

This commit is contained in:
twinaphex 2016-09-22 21:00:17 +02:00
parent fb63786297
commit a60812a2ee

View File

@ -548,6 +548,8 @@ error:
*buf = ret_buf;
*size = ret_size;
free(patch_data);
if (patched_content)
free(patched_content);
return false;
}