summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-02-13 15:55:35 -0600
committerDan Williams <dcbw@redhat.com>2014-02-13 15:55:35 -0600
commit50de6798b0ae86692ad1f9a7b3e3188f16d2e45a (patch)
tree0f0ad444057d49ba68e668434ef71faddfc90a30
parent42ad7b758a09b91bba6cda7fe9ac06525aa86f6a (diff)
broadband-modem: fix double-free of QCDM mode-pref query
Caused by a merge conflict between 81ee0783 and 529e94b0.
-rw-r--r--src/mm-broadband-modem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index 6a32128c..c9b438af 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -613,12 +613,9 @@ mode_pref_qcdm_ready (MMPortSerialQcdm *port,
qcdm_result_unref (result);
if (err) {
mm_dbg ("Failed to read NV ModePref: %d", err);
- qcdm_result_unref (result);
goto at_caps;
}
- qcdm_result_unref (result);
-
/* Only parse explicit modes; for 'auto' just fall back to whatever
* the AT current capabilities probing figures out.
*/