Merge "UPSTREAM: libmbim-glib,device: fix double error free when processing version info response" into release-R107-15117.B
diff --git a/src/libmbim-glib/mbim-device.c b/src/libmbim-glib/mbim-device.c
index 9f2babb..7c37288 100644
--- a/src/libmbim-glib/mbim-device.c
+++ b/src/libmbim-glib/mbim-device.c
@@ -1646,7 +1646,7 @@
GTask *task)
{
g_autoptr(MbimMessage) response = NULL;
- g_autoptr(GError) error = NULL;
+ GError *error = NULL;
guint16 mbim_version;
guint16 ms_mbimex_version;
DeviceOpenContext *ctx;