mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtspacketizer: Fix leak
This commit is contained in:
parent
5f7ecaa0f1
commit
9e117b83fc
1 changed files with 1 additions and 2 deletions
|
@ -2558,8 +2558,7 @@ mpegts_packetizer_push_section (MpegTSPacketizer2 * packetizer,
|
||||||
"of the buffer", packet->pid);
|
"of the buffer", packet->pid);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
/* FIXME : We could actually avoid any copy altogether if it gets parsed straight away */
|
section->data = data;
|
||||||
section->data = g_memdup (data, section->section_length);
|
|
||||||
section->table_id = table_id;
|
section->table_id = table_id;
|
||||||
section->complete = TRUE;
|
section->complete = TRUE;
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue