Fix another small memory leak in unit tests

This commit is contained in:
Denis Kenzior 2009-07-06 19:38:44 -05:00
parent c093a75f89
commit a51700abf5
1 changed files with 3 additions and 1 deletions

View File

@ -339,7 +339,9 @@ static void test_decode_encode()
packed = pack_7bit(gsm_encoded, -1, 0, FALSE, &packed_size, 0xff);
g_assert(gsm_encoded != NULL);
g_free(gsm_encoded);
g_assert(packed != NULL);
if (g_test_verbose())
g_print("Packed GSM to size of %ld bytes\n", packed_size);