tests/closure: Fix invalid unref

The closure is floating, g_source_set_closure() will claim the
ref, so we do not need to unref it.
This commit is contained in:
Colin Walters 2013-07-21 19:42:34 +01:00
parent 1543baddee
commit 35e331b869

View File

@ -24,7 +24,6 @@ test_source (GSource *one, GCallback quit_callback)
g_main_loop_run (loop);
g_source_destroy (one);
g_closure_unref (closure);
g_main_loop_unref (loop);
}