From 34829bc28f727ad9db6a180191c62d33f67b7915 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 9 Sep 2013 22:52:58 +1000 Subject: Fix memory leak in stdlib/isomac.c --- stdlib/isomac.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/isomac.c') diff --git a/stdlib/isomac.c b/stdlib/isomac.c index 2c9009b328..621b5154d2 100644 --- a/stdlib/isomac.c +++ b/stdlib/isomac.c @@ -263,6 +263,7 @@ get_null_defines (void) if (system (command)) { puts ("system() returned nonzero"); + free (command); return NULL; } free (command); -- cgit 1.4.1