Skip to content
Browse files

ptest: fix memory leak

  • Loading branch information...
1 parent 0c9dbe6 commit 59bb29386b2923fbe03b1b1eea3c239147d62df7 @sbourdeauducq sbourdeauducq committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/compiler/ptest/ptest.c
View
1 src/compiler/ptest/ptest.c
@@ -265,5 +265,6 @@ int main(int argc, char **argv)
return 0;
fflush(stdout);
fprintf(stderr, "%s\n", error);
+ free((void *)error);
return 1;
}

0 comments on commit 59bb293

Please sign in to comment.
Something went wrong with that request. Please try again.