projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09498e5
)
gio/tests/socket: fix minor memleak
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 13 Jun 2014 18:23:13 +0000
(19:23 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 13 Jun 2014 18:32:09 +0000
(19:32 +0100)
gio/tests/socket.c
patch
|
blob
|
history
diff --git
a/gio/tests/socket.c
b/gio/tests/socket.c
index
5cc8ee6
..
3901cff
100644
(file)
--- a/
gio/tests/socket.c
+++ b/
gio/tests/socket.c
@@
-872,6
+872,7
@@
test_reuse_tcp (void)
g_assert_no_error (error);
g_socket_bind (sock2, addr, TRUE, &error);
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_ADDRESS_IN_USE);
+ g_clear_error (&error);
g_object_unref (addr);
g_object_unref (sock1);