aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputBuffer.c')
-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;