broadband-modem: fix double-free of QCDM mode-pref query
Caused by a merge conflict between81ee0783and529e94b0.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user