Fixed memory leaks in tests

This commit is contained in:
John Jones 2016-12-12 04:58:53 -05:00
parent 9983fbbb83
commit 6907369aaf

View file

@ -72,6 +72,8 @@ int test_complex_protobuf() {
return 0; return 0;
} }
Test3_free(test3);
Test3_free(results);
return 1; return 1;
} }
@ -154,6 +156,8 @@ int test_write_simple() {
return 0; return 0;
} }
Test1_free(results);
return 1; return 1;
} }