mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 22:10:09 +01:00
tests: fix memleaks in test-wifi-ap-utils.c
(cherry picked from commit 51b3540ae4)
This commit is contained in:
parent
ca7aac000c
commit
33264396c9
1 changed files with 3 additions and 0 deletions
|
|
@ -785,6 +785,7 @@ test_priv_ap_leap_connection_1 (gconstpointer add_wifi)
|
|||
COMPARE (src, expected, success, error, 0, 0);
|
||||
|
||||
g_object_unref (src);
|
||||
g_object_unref (expected);
|
||||
}
|
||||
|
||||
/*******************************************/
|
||||
|
|
@ -866,6 +867,7 @@ test_priv_ap_dynamic_wep_1 (void)
|
|||
COMPARE (src, expected, success, error, 0, 0);
|
||||
|
||||
g_object_unref (src);
|
||||
g_object_unref (expected);
|
||||
}
|
||||
|
||||
/*******************************************/
|
||||
|
|
@ -913,6 +915,7 @@ test_priv_ap_dynamic_wep_2 (void)
|
|||
COMPARE (src, expected, success, error, 0, 0);
|
||||
|
||||
g_object_unref (src);
|
||||
g_object_unref (expected);
|
||||
}
|
||||
|
||||
/*******************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue