mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
transcode: Don't leak timer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
e821b65a64
commit
c82f9c9f8c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue