mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gio/tests/socket: fix minor memleak
This commit is contained in:
parent
09498e52bb
commit
94e13c71c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user