aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-03-19 00:06:47 +0000
committerEric Wong <normalperson@yhbt.net>2006-03-19 00:06:47 +0000
commitdb34f66d1affd4519428f5400688dcff3397e705 (patch)
tree1d1981e0392156579208b54fecb95dbe26f03450 /src
parenta25acbc94fb6e139c4484c3c93d3030a19494b2f (diff)
downloadmpd-db34f66d1affd4519428f5400688dcff3397e705.tar.gz
mpd-db34f66d1affd4519428f5400688dcff3397e705.tar.xz
mpd-db34f66d1affd4519428f5400688dcff3397e705.zip
src/outputBuffer.c: bugfix: freeMpdTag(), not just free()
git-svn-id: https://svn.musicpd.org/mpd/trunk@3930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/outputBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index e52c6e1a4..46b98c479 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -155,7 +155,7 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
if(!cb->acceptMetadata || !tag) {
sendMetaChunk = 0;
- if(last) free(last);
+ if(last) freeMpdTag(last);
last = NULL;
DEBUG("copyMpdTagToOB: !acceptMetadata || !tag\n");
return 0;