mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
unix: Fix memory leak in unix test
https://bugzilla.gnome.org/show_bug.cgi?id=711751
This commit is contained in:
parent
ab3c55435a
commit
e525586726
@ -183,6 +183,7 @@ nested_idle (gpointer data)
|
||||
source = g_unix_signal_source_new (SIGHUP);
|
||||
g_source_set_callback (source, on_sig_received, nested, NULL);
|
||||
g_source_attach (source, context);
|
||||
g_source_unref (source);
|
||||
|
||||
kill (getpid (), SIGHUP);
|
||||
g_main_loop_run (nested);
|
||||
|
Loading…
Reference in New Issue
Block a user