gsm/cdma: free up a couple of dangling GErrors
Change-Id: I4f07e7e08bcbfc116114191c759cc0af4bb8ea23
This commit is contained in:
committed by
Jiří Klimeš
parent
d5d9eec2b5
commit
8d64d0fdda
@@ -2317,6 +2317,7 @@ simple_connect (MMModemSimple *simple,
|
||||
}
|
||||
|
||||
simple_state_machine (MM_MODEM (simple), error, info);
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -4784,6 +4784,7 @@ sms_get (MMModemGsmSms *modem,
|
||||
callback (modem, properties, error, user_data);
|
||||
if (properties != NULL)
|
||||
g_hash_table_unref (properties);
|
||||
g_error_free (error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user