mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-20 16:31:41 +02:00
modem: fix memory leak
Fixes:9b935fad9b('modem: don't use GAsyncResult pattern for disconnecting modem') (cherry picked from commit22cd9e754b)
This commit is contained in:
parent
df5d76b0dc
commit
47c772354e
1 changed files with 1 additions and 1 deletions
|
|
@ -1134,7 +1134,7 @@ simple_disconnect_ready (GObject *source_object,
|
|||
{
|
||||
MMModemSimple *modem_iface = MM_MODEM_SIMPLE (source_object);
|
||||
DisconnectContext *ctx = user_data;
|
||||
GError *error = NULL;
|
||||
gs_free_error GError *error = NULL;
|
||||
|
||||
if (!mm_modem_simple_disconnect_finish (modem_iface, res, &error)) {
|
||||
if ( ctx->warn
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue