summaryrefslogtreecommitdiff
path: root/test/yajl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/yajl_test.c')
-rw-r--r--test/yajl_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c
index 77281a5..3554f1b 100644
--- a/test/yajl_test.c
+++ b/test/yajl_test.c
@@ -283,6 +283,8 @@ main(int argc, char ** argv)
* printf("allocations:\t%u\n", memCtx.numMallocs);
* printf("frees:\t\t%u\n", memCtx.numFrees);
*/
+ fflush(stderr);
+ fflush(stdout);
printf("memory leaks:\t%u\n", memCtx.numMallocs - memCtx.numFrees);
return 0;