projects
/
sdk
/
emulator
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tizen 2.0 Release
[sdk/emulator/qemu.git]
/
tests
/
linux-test.c
diff --git
a/tests/linux-test.c
b/tests/linux-test.c
index
9986e29
..
2e4a746
100644
(file)
--- a/
tests/linux-test.c
+++ b/
tests/linux-test.c
@@
-426,7
+426,9
@@
void test_clone(void)
CLONE_VM | CLONE_FS | CLONE_FILES | SIGCHLD, "hello2"));
while (waitpid(pid1, &status1, 0) != pid1);
+ free(stack1);
while (waitpid(pid2, &status2, 0) != pid2);
+ free(stack2);
if (thread1_res != 5 ||
thread2_res != 6)
error("clone");