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
@ -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…
x
Reference in New Issue
Block a user