summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-02-10 13:56:16 +0100
committerDan Williams <dcbw@redhat.com>2015-02-10 14:09:23 +0100
commitfd22278fbcb89ce9c29ccefb22b1bcb7ae5355dd (patch)
tree53604469ef9963a9303417f137b7ee3c90f9a436
parent84ba14f8debf80a6f3095baeed34c393d78bcfb6 (diff)
downloadNetworkManager-fd22278fbcb89ce9c29ccefb22b1bcb7ae5355dd.tar.gz
tests: fix memleaks in test-wifi-ap-utils.c
(cherry picked from commit 51b3540ae44eb2de659ea5c2f40ba90d062945e0)
-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 36d58f2a8a..488bb5cdfc 100644
--- a/src/devices/wifi/tests/test-wifi-ap-utils.c
+++ b/src/devices/wifi/tests/test-wifi-ap-utils.c
@@ -802,6 +802,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);
}
/*******************************************/
@@ -883,6 +884,7 @@ test_priv_ap_dynamic_wep_1 (void)
COMPARE (src, expected, success, error, 0, 0);
g_object_unref (src);
+ g_object_unref (expected);
}
/*******************************************/
@@ -930,6 +932,7 @@ test_priv_ap_dynamic_wep_2 (void)
COMPARE (src, expected, success, error, 0, 0);
g_object_unref (src);
+ g_object_unref (expected);
}
/*******************************************/