diff options
Diffstat (limited to 'plparse/totem-pl-parser-xspf.c')
-rw-r--r-- | plparse/totem-pl-parser-xspf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plparse/totem-pl-parser-xspf.c b/plparse/totem-pl-parser-xspf.c index f30883b..1a50316 100644 --- a/plparse/totem-pl-parser-xspf.c +++ b/plparse/totem-pl-parser-xspf.c @@ -473,7 +473,7 @@ parse_xspf_entries (TotemPlParser *parser, continue; if (g_ascii_strcasecmp ((char *)node->name, "title") == 0) { - title = node->name; + title = xmlNodeListGetString (doc, node->xmlChildrenNode, 1); break; } } @@ -500,6 +500,8 @@ parse_xspf_entries (TotemPlParser *parser, g_free (uri); } + SAFE_FREE (title); + return retval; } |