diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-02 01:49:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-02 01:49:13 +0200 |
commit | de89205bdf419e68beece4e205af40e3d81f01ef (patch) | |
tree | 288ad57b06a33dbb0d0bde90d60ba4b5997a7cd7 /coreutils | |
parent | ff59b7b112e5dd9a69e138aa01b91d76c8b04be6 (diff) | |
download | busybox-w32-de89205bdf419e68beece4e205af40e3d81f01ef.tar.gz busybox-w32-de89205bdf419e68beece4e205af40e3d81f01ef.tar.bz2 busybox-w32-de89205bdf419e68beece4e205af40e3d81f01ef.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index 7b8b10cd9..afdb1413f 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -394,6 +394,7 @@ extern struct test_statics *const test_ptr_to_statics; | |||
394 | barrier(); \ | 394 | barrier(); \ |
395 | } while (0) | 395 | } while (0) |
396 | #define DEINIT_S() do { \ | 396 | #define DEINIT_S() do { \ |
397 | free(S.group_array); \ | ||
397 | free(test_ptr_to_statics); \ | 398 | free(test_ptr_to_statics); \ |
398 | } while (0) | 399 | } while (0) |
399 | 400 | ||