summaryrefslogtreecommitdiff
path: root/src/devices/wifi
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-02-10 13:56:16 +0100
committerThomas Haller <thaller@redhat.com>2015-03-13 11:50:50 +0100
commit33264396c97c4b6d6631cfb5220eff596de1cc7e (patch)
tree5080389ea8bbaf81ded92a692bb1492962fe57e0 /src/devices/wifi
parentca7aac000cc4322456ed622e676296bf9b9f80bc (diff)
tests: fix memleaks in test-wifi-ap-utils.c
(cherry picked from commit 51b3540ae44eb2de659ea5c2f40ba90d062945e0)
Diffstat (limited to 'src/devices/wifi')
-rw-r--r--src/devices/wifi/tests/test-wifi-ap-utils.c3
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);
}
/*******************************************/