diff --git a/tests/examples/helloworld/helloworld.c b/tests/examples/helloworld/helloworld.c index 073fb033a3..a659f5bddb 100644 --- a/tests/examples/helloworld/helloworld.c +++ b/tests/examples/helloworld/helloworld.c @@ -74,7 +74,7 @@ main (gint argc, gchar * argv[]) /* cleanup */ gst_element_set_state (playbin, GST_STATE_NULL); g_object_unref (playbin); - g_object_unref (loop); + g_main_loop_unref (loop); return 0; }