broadband-modem: fix double-free of QCDM mode-pref query

Caused by a merge conflict between 81ee0783 and 529e94b0.
This commit is contained in:
Dan Williams
2014-02-13 15:55:35 -06:00
parent 42ad7b758a
commit 50de6798b0
-3
View File
@@ -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.
*/