summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-29 14:23:08 +0100
committerThomas Haller <thaller@redhat.com>2016-02-29 14:23:22 +0100
commitae9cc8910ddd04d43c9a15dbbe92a4863b6c49f0 (patch)
tree08585793deb7f3e66f4995bcfefbd520512c7648
parent06252c9863315d1284507bd9348c809f2e8058f3 (diff)
downloadNetworkManager-ae9cc8910ddd04d43c9a15dbbe92a4863b6c49f0.tar.gz
lldp/tests: unref lldp instance in test
-rw-r--r--src/devices/tests/test-lldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c
index 7ec0d34e19..15aa324fac 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;