diff --git a/patch.c b/patch.c index c2217003d0..6651a94735 100644 --- a/patch.c +++ b/patch.c @@ -542,6 +542,7 @@ static bool apply_patch_content(uint8_t **buf, } free(patch_data); + free(patched_content); return true; error: