Skip to content
Snippets Groups Projects
Commit 50f00b68 authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Don't leak an HBitWriter in run_bitwriter_test()

parent 1bd778f5
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,8 @@ void run_bitwriter_test(bitwriter_test_elem data[], char flags) {
for (i = 0; data[i].nbits; i++) {
g_check_cmp_uint64((uint64_t)h_read_bits(&input, data[i].nbits, FALSE), ==, data[i].data);
}
h_bit_writer_free(w);
}
static void test_bitwriter_ints(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment