qtmux: prevent leaking hdlr name

This commit is contained in:
Mark Nauwelaerts 2010-02-16 17:13:09 +01:00
parent eed915a6fb
commit 1da893ba68

View file

@ -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);
}