mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
timecodestamper: Plug a leak
This commit is contained in:
parent
fa2916a159
commit
fb888dada1
1 changed files with 3 additions and 0 deletions
|
@ -1147,6 +1147,9 @@ gst_timecodestamper_transform_ip (GstBaseTransform * vfilter,
|
|||
|| timecodestamper->reset_internal_tc_from_seek) {
|
||||
gchar *tc_str;
|
||||
|
||||
if (timecodestamper->internal_tc)
|
||||
gst_video_time_code_free (timecodestamper->internal_tc);
|
||||
|
||||
timecodestamper->reset_internal_tc_from_seek = FALSE;
|
||||
if (timecodestamper->set_internal_tc) {
|
||||
timecodestamper->internal_tc =
|
||||
|
|
Loading…
Reference in a new issue