diff options
Diffstat (limited to 'src/mm-iface-modem-simple.c')
-rw-r--r-- | src/mm-iface-modem-simple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-iface-modem-simple.c b/src/mm-iface-modem-simple.c index a74c03c4..2f6a7b1c 100644 --- a/src/mm-iface-modem-simple.c +++ b/src/mm-iface-modem-simple.c @@ -293,6 +293,7 @@ set_allowed_modes_ready (MMBaseModem *self, if (g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED)) { + g_error_free (error); /* If setting bands is unsupported, keep on without sleep */ ctx->step++; connection_step (ctx); @@ -330,6 +331,7 @@ set_bands_ready (MMBaseModem *self, if (g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED)) { + g_error_free (error); /* If setting bands is unsupported, keep on without sleep */ ctx->step++; connection_step (ctx); |