test: memory leak: free group id list

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-10-02 01:49:13 +02:00
parent ff59b7b112
commit de89205bdf
2 changed files with 6 additions and 7 deletions

View File

@ -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)