broadband-modem-mbim: fix additional double GError free
We're returning the GError as GTask result, we should not explicitly free it ourselves. Same as the previous fix, should solve the crash sometimes seen in https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/550
This commit is contained in:
@@ -8747,7 +8747,7 @@ before_set_query_device_slot_mappings_ready (MbimDevice *device,
|
||||
{
|
||||
MMBroadbandModemMbim *self;
|
||||
g_autoptr(MbimMessage) response = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
GError *error = NULL;
|
||||
g_autoptr(MbimMessage) message = NULL;
|
||||
guint32 map_count = 0;
|
||||
g_autoptr(MbimSlotArray) slot_mappings = NULL;
|
||||
|
||||
Reference in New Issue
Block a user