diff options
author | Dan Williams <dcbw@redhat.com> | 2015-02-10 13:56:16 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2015-02-10 13:56:16 +0100 |
commit | 51b3540ae44eb2de659ea5c2f40ba90d062945e0 (patch) | |
tree | 166595fa59e8bd3bfcbb4099aace6a3fa286171f | |
parent | 21c9c7e21c2e38f85cf48f569c20021f92b48072 (diff) | |
download | NetworkManager-51b3540ae44eb2de659ea5c2f40ba90d062945e0.tar.gz |
tests: fix memleaks in test-wifi-ap-utils.c
-rw-r--r-- | src/devices/wifi/tests/test-wifi-ap-utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/wifi/tests/test-wifi-ap-utils.c b/src/devices/wifi/tests/test-wifi-ap-utils.c index fb335b8982..3c405e264f 100644 --- a/src/devices/wifi/tests/test-wifi-ap-utils.c +++ b/src/devices/wifi/tests/test-wifi-ap-utils.c @@ -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); } /*******************************************/ |