mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 09:08:18 +02:00
clients/secret-agent: cancel pending operations
We must actually cancel the GCancellable. Otherwise, the pending async operations are not cancelled. _auth_dialog_write_done() doesn't care about that, but _auth_dialog_read_done() does. It must not touch the destroyed data, after the operation is cancelled.
This commit is contained in:
parent
f2973fd72e
commit
16e0f38c3e
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ _request_data_free (gpointer data)
|
|||
RequestData *request = data;
|
||||
|
||||
g_free (request->request_id);
|
||||
g_object_unref (request->cancellable);
|
||||
nm_clear_g_cancellable (&request->cancellable);
|
||||
g_object_unref (request->self);
|
||||
g_object_unref (request->connection);
|
||||
g_strfreev (request->hints);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue