qmibridge: fixup memeory leaks commit

Wrong signature of the function was used
This commit is contained in:
Alexander Couzens 2017-11-07 16:27:46 +01:00
parent 9d11663999
commit 21d29419ed
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ static void ask_qmi(const char *prefix, void *data, size_t len)
DBG("%s: %s", prefix, printable);
qmi_message_unref(message);
g_byte_array_free(buffer);
g_byte_array_free(buffer, TRUE);
g_free(printable);
}
void qmibridge_decode_read(void *data, size_t len)