Skip to content

Commit

Permalink
Merge pull request codeplea#22 from crclark96/crclark96-memleak-patch
Browse files Browse the repository at this point in the history
free malloc'd memory at end of file
  • Loading branch information
codeplea authored Jul 7, 2018
2 parents fb6df6d + 35d1159 commit 1afe968
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example4.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ int main(int argc, char *argv[])


genann_free(ann);
free(input);
free(class);

return 0;
}

0 comments on commit 1afe968

Please sign in to comment.