[unit] Plugged memory leak in unit_reader. JB#42956

This commit is contained in:
Slava Monich
2018-10-10 14:43:08 +03:00
parent 9c6e31ef41
commit c8c7222e06

View File

@@ -579,6 +579,7 @@ test_hidl_struct(
g_assert(gbinder_reader_read_hidl_struct1(&reader, test->struct_size) ==
test->data);
g_free(data.objects);
gbinder_buffer_free(buf);
gbinder_ipc_unref(ipc);
}