From ae9cc8910ddd04d43c9a15dbbe92a4863b6c49f0 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 29 Feb 2016 14:23:08 +0100 Subject: [PATCH] lldp/tests: unref lldp instance in test --- src/devices/tests/test-lldp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c index 7ec0d34e1..15aa324fa 100644 --- a/src/devices/tests/test-lldp.c +++ b/src/devices/tests/test-lldp.c @@ -136,7 +136,7 @@ get_lldp_neighbor_attribute (GVariant *neighbors, static void test_receive_frame (test_fixture *fixture, gconstpointer user_data) { - NMLldpListener *listener; + gs_unref_object NMLldpListener *listener = NULL; GMainLoop *loop; TestInfo info = { }; GVariant *neighbors, *attr;