Commit db34f66d authored by Eric Wong's avatar Eric Wong

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

git-svn-id: https://svn.musicpd.org/mpd/trunk@3930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent a25acbc9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment