mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
qtmux: prevent leaking hdlr name
This commit is contained in:
parent
eed915a6fb
commit
1da893ba68
1 changed files with 2 additions and 0 deletions
|
@ -2802,6 +2802,8 @@ atom_hdlr_set_type (AtomHDLR * hdlr, AtomsContext * context, guint32 comp_type,
|
|||
static void
|
||||
atom_hdlr_set_name (AtomHDLR * hdlr, char *name)
|
||||
{
|
||||
if (hdlr->name)
|
||||
g_free (hdlr->name);
|
||||
hdlr->name = g_strdup (name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue