summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r--libpiano/src/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c
index cd06ae5..cfbfe85 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -257,7 +257,7 @@ static void PianoXmlParsePlaylistCb (const char *key, const ezxml_t value,
memcpy (&song->audioUrl[valueStrN - urlTailN], urlTail,
urlTailN/2 - 8);
}
- PianoFree (urlTail, urlTailN/2);
+ free (urlTail);
}
} else if (strcmp ("artistSummary", key) == 0) {
song->artist = strdup (valueStr);