Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from png85/png.AutoPatcher_CreatePatch-UB_fix
Browse files Browse the repository at this point in the history
Fix mismatching allocation/deallocation in AutoPatcher/CreatePatch.cpp
  • Loading branch information
alliekins committed Jul 9, 2014
2 parents a33ba58 + 4aefdfa commit ba9e60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependentExtensions/Autopatcher/CreatePatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ int TestDiffInMemory(int argc,char *argv[])
fwrite(out,outSize,1,pf);
fclose(pf);

free(out);
delete[] out;
return res;
}

Expand Down

0 comments on commit ba9e60b

Please sign in to comment.