diff --git a/subprojects/gst-plugins-bad/gst/transcode/gst-cpu-throttling-clock.c b/subprojects/gst-plugins-bad/gst/transcode/gst-cpu-throttling-clock.c index 45bb51a12f..31dfa8295b 100644 --- a/subprojects/gst-plugins-bad/gst/transcode/gst-cpu-throttling-clock.c +++ b/subprojects/gst-plugins-bad/gst/transcode/gst-cpu-throttling-clock.c @@ -165,6 +165,10 @@ gst_cpu_throttling_clock_dispose (GObject * object) gst_clock_id_unref (self->priv->evaluate_wait_time); self->priv->evaluate_wait_time = 0; } + if (self->priv->timer) { + gst_poll_free (self->priv->timer); + self->priv->timer = NULL; + } } static void