diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-21 15:04:55 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-21 15:18:27 +0100 |
commit | afb213ac05aa72db010e17e0326408bf655f66fd (patch) | |
tree | 74592e4b6f29ba366266d7184bad9412c0e898b6 /src | |
parent | 647a438b435e9dc21c123602b4be758515c51c57 (diff) |
bearer-mbim: fix error handling in connection status reload
We should not set the GError as autoptr(), as we're returning it as
part of the GTask.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-bearer-mbim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c index b5b3a8c6..84f4e3da 100644 --- a/src/mm-bearer-mbim.c +++ b/src/mm-bearer-mbim.c @@ -1592,8 +1592,8 @@ reload_connection_status_ready (MbimDevice *device, guint32 session_id; MbimActivationState activation_state; MMBearerConnectionStatus bearer_connection_status = MM_BEARER_CONNECTION_STATUS_UNKNOWN; + GError *error = NULL; g_autoptr(MbimMessage) response = NULL; - g_autoptr(GError) error = NULL; self = g_task_get_source_object (task); |