Skip to content

Commit

Permalink
fix memory leak on main
Browse files Browse the repository at this point in the history
  • Loading branch information
kavros committed Oct 2, 2016
1 parent 2f4f5b0 commit 51a1168
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/harness.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ int main(int argc, char **argv)
return -1;
}
#endif
free(data);
free(ref);

printf("Success.\n");
return 0;
Expand Down

0 comments on commit 51a1168

Please sign in to comment.