[PATCH 2/6] tests: fix memory leak [AddressSanitizer]

Sami Kerola
2014-11-10T21:50:09Z

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
lib/cpuset.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/cpuset.c b/lib/cpuset.c
index e5b6b9d..d715720 100644
--- a/lib/cpuset.c
+++ b/lib/cpuset.c
@@ -388,6 +388,7 @@ int main(int argc, char *argv[])
printf("[%s]\n", cpulist_create(buf, buflen, set, setsize));

free(buf);
+ free(mask);
free(range);
cpuset_free(set);

--
2.1.3