aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-broadband-modem-simtech.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/simtech/mm-broadband-modem-simtech.c')
-rw-r--r--plugins/simtech/mm-broadband-modem-simtech.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/simtech/mm-broadband-modem-simtech.c b/plugins/simtech/mm-broadband-modem-simtech.c
index 45cc5542..c511629e 100644
--- a/plugins/simtech/mm-broadband-modem-simtech.c
+++ b/plugins/simtech/mm-broadband-modem-simtech.c
@@ -565,6 +565,7 @@ cnmp_query_ready (MMBroadbandModemSimtech *self,
"Unknown acquisition order preference: '%d'",
ctx->acqord);
g_object_unref (task);
+ g_free (result);
return;
}
break;
@@ -589,6 +590,7 @@ cnmp_query_ready (MMBroadbandModemSimtech *self,
"Unknown mode preference: '%d'",
ctx->modepref);
g_object_unref (task);
+ g_free (result);
return;
}