[PATCH] mbimcli: avoid calling mbim_message_unref on NULL MbimMessage
Ben Chan
benchan at chromium.org
Wed Jul 26 06:42:34 UTC 2017
---
src/mbimcli/mbimcli-basic-connect.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mbimcli/mbimcli-basic-connect.c b/src/mbimcli/mbimcli-basic-connect.c
index e1d40d1..a4e9b3f 100644
--- a/src/mbimcli/mbimcli-basic-connect.c
+++ b/src/mbimcli/mbimcli-basic-connect.c
@@ -761,7 +761,6 @@ ip_configuration_query (MbimDevice *device,
if (!message) {
g_printerr ("error: couldn't create IP config request: %s\n", error->message);
g_error_free (error);
- mbim_message_unref (message);
shutdown (FALSE);
return;
}
--
2.14.0.rc0.400.g1c36432dff-goog
More information about the libmbim-devel
mailing list