src/outputBuffer.c: bugfix: freeMpdTag(), not just free()

git-svn-id: https://svn.musicpd.org/mpd/trunk@3930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2006-03-19 00:06:47 +00:00
parent a25acbc94f
commit db34f66d1a

View File

@ -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;