bearer-mbim: avoid calling mbim_message_unref on NULL MbimMessage

This commit is contained in:
Ben Chan
2017-07-26 18:25:38 -07:00
committed by Aleksander Morgado
parent 08f5b86c5d
commit 4e468d04ac

View File

@@ -173,6 +173,8 @@ packet_statistics_query_ready (MbimDevice *device,
g_task_return_error (task, error);
g_object_unref (task);
if (response)
mbim_message_unref (response);
}