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:
parent
a25acbc94f
commit
db34f66d1a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user