mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 19:20:35 +01:00
connectivity: fix memory leak
The server response, allocated in easy_write_cb(), was not freed.
Fixes: 7307dea9c4
This commit is contained in:
parent
31ad3dbc96
commit
92e8ec5e1e
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ finish_cb_data (ConCheckCbData *cb_data, NMConnectivityState new_state)
|
|||
g_object_unref (cb_data->simple);
|
||||
curl_slist_free_all (cb_data->request_headers);
|
||||
g_free (cb_data->response);
|
||||
g_free (cb_data->msg);
|
||||
g_free (cb_data->ifspec);
|
||||
g_source_remove (cb_data->timeout_id);
|
||||
g_slice_free (ConCheckCbData, cb_data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue