diff --git a/gst/gstclock.h b/gst/gstclock.h index 6d1fb522ab..46419c9dd1 100644 --- a/gst/gstclock.h +++ b/gst/gstclock.h @@ -705,6 +705,7 @@ gboolean gst_clock_periodic_id_reinit (GstClock * clock, GstClockTime interval); G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstClock, gst_object_unref) +G_DEFINE_AUTO_CLEANUP_FREE_FUNC(GstClockID, gst_clock_id_unref, 0) G_END_DECLS