diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2016-12-09 13:41:52 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2016-12-09 13:41:52 +1300 |
commit | b5e2084e7c5dc2c5304422cb9b64fa2d1f074579 (patch) | |
tree | db53fee122d46ad6680af7c1124fdde03fabcc9c | |
parent | e04380750a410a8ce1ba50b94e762d75dc29fd18 (diff) | |
download | lightdm-git-b5e2084e7c5dc2c5304422cb9b64fa2d1f074579.tar.gz |
Fix incorrect unref in XDMCP code
-rw-r--r-- | src/xdmcp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdmcp-server.c b/src/xdmcp-server.c index bbc11927..b1247a81 100644 --- a/src/xdmcp-server.c +++ b/src/xdmcp-server.c @@ -443,7 +443,7 @@ choose_connection (XDMCPPacket *packet, GInetAddress *source_address) /* Free the local sort array and items */ for (i = 0; i < addresses->len; i++) g_object_unref (g_array_index (addresses, AddrSortItem, i).address); - g_object_unref (addresses); + g_array_unref (addresses); return index >= 0 ? &packet->Request.connections[index] : NULL; } |