diff --git a/patch.c b/patch.c index 6651a94735..3af72a329e 100644 --- a/patch.c +++ b/patch.c @@ -549,8 +549,6 @@ error: *buf = ret_buf; *size = ret_size; free(patch_data); - if (patched_content) - free(patched_content); return false; }