Skip to content

Commit

Permalink
Merge pull request facebookarchive#6 from png85/png.AutoPatcher_Creat…
Browse files Browse the repository at this point in the history
…ePatch-UB_fix

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.