Skip to content

Commit

Permalink
Fix memory leak (being pedantic)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron D. Marasco committed Sep 14, 2015
1 parent cb5b5ea commit 28b99d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/patchelf.cc
Expand Up @@ -1566,6 +1566,7 @@ int main(int argc, char * * argv)
fileName = argv[i];

patchElf();
if (contents) free(contents);

return 0;
}

0 comments on commit 28b99d1

Please sign in to comment.