summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2009-11-01 21:18:20 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2009-11-01 21:18:20 +0800
commit7a235d2e4b2a68d304de5af2b90610c4d4cc179e (patch)
tree0a0a4c9daabb6f584764422151d7e1cb1119302d
parent808e3b3f1028a0b8f6f597395a9ebef03f601fca (diff)
milkway/test: don't leak the main context
-rw-r--r--milkway/test/main-loop-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/milkway/test/main-loop-test.c b/milkway/test/main-loop-test.c
index c7222ea..94df786 100644
--- a/milkway/test/main-loop-test.c
+++ b/milkway/test/main-loop-test.c
@@ -146,6 +146,7 @@ test_subsource(void)
mw_object_unref(source);
mw_main_loop_run(loop);
+ mw_object_unref(ctx);
}
int main(int argc, char **argv)