Move from Jansson to JV - proper freeing of memory

A few more tests, now passes valgrind.
This commit is contained in:
Stephen Dolan committed 2012-09-02 21:45:52 +01:00
1 parent 9da3e0d373
commit 4f747e6fff
8 files changed
+141 -21

No files matched your search

+2
View File
@@ -8,6 +8,7 @@ block compile(const char* str);
void jq_init(struct bytecode* bc, jv value);
jv jq_next();
void jq_teardown();
void run_program(struct bytecode* bc);
@@ -67,6 +68,7 @@ void run_tests() {
pass = 0;
}*/
}
jq_teardown();
bytecode_free(bc);
tests++;
passed+=pass;