projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix leaks in GSocketClient and GThreadedResolver
[platform/upstream/glib.git]
/
gio
/
tests
/
socket-client.c
diff --git
a/gio/tests/socket-client.c
b/gio/tests/socket-client.c
index
8409a5f
..
f0f7c4e
100644
(file)
--- a/
gio/tests/socket-client.c
+++ b/
gio/tests/socket-client.c
@@
-181,6
+181,7
@@
main (int argc,
g_object_unref (address);
}
g_object_unref (enumerator);
+ g_object_unref (connectable);
g_print ("Connected to %s\n",
socket_address_to_string (address));
@@
-293,6
+294,7
@@
main (int argc,
}
g_object_unref (G_OBJECT (socket));
+ g_object_unref (G_OBJECT (address));
return 0;
}