diff options
author | Allan McRae <allan@archlinux.org> | 2013-09-09 22:52:58 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-09-09 22:53:46 +1000 |
commit | 34829bc28f727ad9db6a180191c62d33f67b7915 (patch) | |
tree | b5b8c9f3591f3b19a1ea1c35deb45291de583a9c /stdlib/isomac.c | |
parent | 3932737df1a022f8f207db9874194600296ed437 (diff) | |
download | glibc-34829bc28f727ad9db6a180191c62d33f67b7915.tar glibc-34829bc28f727ad9db6a180191c62d33f67b7915.tar.gz glibc-34829bc28f727ad9db6a180191c62d33f67b7915.tar.bz2 glibc-34829bc28f727ad9db6a180191c62d33f67b7915.zip |
Fix memory leak in stdlib/isomac.c
Diffstat (limited to 'stdlib/isomac.c')
-rw-r--r-- | stdlib/isomac.c | 1 |
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); |