[xiph-commits] r13433 - trunk/ezstream/src

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Aug 4 09:09:51 PDT 2007


Author: moritz
Date: 2007-08-04 09:09:50 -0700 (Sat, 04 Aug 2007)
New Revision: 13433

Modified:
   trunk/ezstream/src/metadata.c
Log:
Do not xfree() something that wasn't x*alloc()'ed.


Modified: trunk/ezstream/src/metadata.c
===================================================================
--- trunk/ezstream/src/metadata.c	2007-08-02 18:50:05 UTC (rev 13432)
+++ trunk/ezstream/src/metadata.c	2007-08-04 16:09:50 UTC (rev 13433)
@@ -124,14 +124,14 @@
 	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);



More information about the commits mailing list