Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

ptest: fix memory leak

  • Loading branch information...
commit 59bb29386b2923fbe03b1b1eea3c239147d62df7 1 parent 0c9dbe6
Sébastien Bourdeauducq authored December 14, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  src/compiler/ptest/ptest.c
1  src/compiler/ptest/ptest.c
@@ -265,5 +265,6 @@ int main(int argc, char **argv)
265 265
 		return 0;
266 266
 	fflush(stdout);
267 267
 	fprintf(stderr, "%s\n", error);
  268
+	free((void *)error);
268 269
 	return 1;
269 270
 }

0 notes on commit 59bb293

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