summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko2016-10-02 01:49:13 +0200
committerDenys Vlasenko2016-10-02 01:49:13 +0200
commitde89205bdf419e68beece4e205af40e3d81f01ef (patch)
tree288ad57b06a33dbb0d0bde90d60ba4b5997a7cd7 /coreutils
parentff59b7b112e5dd9a69e138aa01b91d76c8b04be6 (diff)
downloadbusybox-de89205bdf419e68beece4e205af40e3d81f01ef.zip
busybox-de89205bdf419e68beece4e205af40e3d81f01ef.tar.gz
test: memory leak: free group id list
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index 7b8b10c..afdb141 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -394,6 +394,7 @@ extern struct test_statics *const test_ptr_to_statics;
barrier(); \
} while (0)
#define DEINIT_S() do { \
+ free(S.group_array); \
free(test_ptr_to_statics); \
} while (0)