Skip to content

Commit 59bb293

Browse files
author
Sebastien Bourdeauducq
committedDec 14, 2011
ptest: fix memory leak
1 parent 0c9dbe6 commit 59bb293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/compiler/ptest/ptest.c

+1
Original file line numberDiff line numberDiff line change
@@ -265,5 +265,6 @@ int main(int argc, char **argv)
265265
return 0;
266266
fflush(stdout);
267267
fprintf(stderr, "%s\n", error);
268+
free((void *)error);
268269
return 1;
269270
}

0 commit comments

Comments
 (0)
Please sign in to comment.