about summary refs log tree commit diff
path: root/stdlib/isomac.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/isomac.c')
-rw-r--r--stdlib/isomac.c1
1 files changed, 1 insertions, 0 deletions
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);