mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
gstsystemclock: Mark the clock as MAY_BE_LEAKED
It is freed in gst_deinit(), but otherwise it is leaked.
This commit is contained in:
parent
4ba6898f24
commit
f336fdd088
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ gst_system_clock_obtain (void)
|
|||
|
||||
/* Clear floating flag */
|
||||
gst_object_ref_sink (clock);
|
||||
GST_OBJECT_FLAG_SET (clock, GST_OBJECT_FLAG_MAY_BE_LEAKED);
|
||||
_the_system_clock = clock;
|
||||
g_mutex_unlock (&_gst_sysclock_mutex);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue