From f282e3d4745cda6b9fa1cf76ba52e7d658db8702 Mon Sep 17 00:00:00 2001 From: moritz Date: Sat, 4 Aug 2007 16:09:50 +0000 Subject: [PATCH] Do not xfree() something that wasn't x*alloc()'ed. git-svn-id: https://svn.xiph.org/trunk/ezstream@13433 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/metadata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metadata.c b/src/metadata.c index ee1aef3..86a213e 100644 --- a/src/metadata.c +++ b/src/metadata.c @@ -124,14 +124,14 @@ metadata_use_taglib(metadata_t *md, FILE **filep) if (str != NULL) { if (strlen(str) > 0) md->artist = xstrdup(str); - xfree(str); + free(str); } str = taglib_tag_title(tt); if (str != NULL) { if (strlen(str) > 0) md->title = xstrdup(str); - xfree(str); + free(str); } md->songLen = taglib_audioproperties_length(ta);