Free stuff in biffer/read_file tests

This commit is contained in:
Nils O. Selåsdal
2015-12-01 23:16:47 +01:00
parent 07e0032258
commit 877b2edf5b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -104,6 +104,7 @@ START_TEST (test_gbuf_printf_empty_string)
rc = uc_gbuf_printf(buf, fmt);
fail_if(rc != 0);
fail_if(buf->used != 0);
uc_gbuf_unref(buf);
END_TEST
+1
View File
@@ -42,6 +42,7 @@ START_TEST (test_read_file_simple)
fail_if(len != 5);
fail_if(strlen(content) != 5);
fail_if(strcmp("hello", content) != 0);
free(content);
END_TEST
START_TEST (test_read_file_greater_than_max)