mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
rtptimerqueue: Fix memory leak
Should chain up to parent's finalize Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3645>
This commit is contained in:
parent
aba7f7c7eb
commit
9b305df1cc
1 changed files with 2 additions and 0 deletions
|
@ -304,6 +304,8 @@ rtp_timer_queue_finalize (GObject * object)
|
||||||
rtp_timer_free (timer);
|
rtp_timer_free (timer);
|
||||||
g_hash_table_unref (queue->hashtable);
|
g_hash_table_unref (queue->hashtable);
|
||||||
g_assert (queue->timers.length == 0);
|
g_assert (queue->timers.length == 0);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (rtp_timer_queue_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue