diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-10-26 20:37:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-10-29 14:20:16 +0200 |
commit | 6341560e15e220d92b6d6d87d62f51f17f8c808f (patch) | |
tree | 90ada00e3558b285723576ca59af16768b286363 /libpiano/src/xml.c | |
parent | 4ce6e333dd53f5705133aa4f494fe45eb1230f69 (diff) | |
download | pianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.tar.gz pianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.tar.bz2 pianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.zip |
piano: Removed PianoFree
Ordinary "free" call works fine, no need for memset overhead.
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r-- | libpiano/src/xml.c | 2 |
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); |