aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/metadata_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/metadata_pipe.c b/src/metadata_pipe.c
index aecc331e6..a92fdd61b 100644
--- a/src/metadata_pipe.c
+++ b/src/metadata_pipe.c
@@ -68,6 +68,7 @@ void metadata_pipe_send(MpdTag *tag, float metadata_time)
if (mpd_unlikely(ringbuf_write_space(mp)
< sizeof(struct tag_container))) {
DEBUG("metadata_pipe: insufficient buffer space, dropping\n");
+ freeMpdTag(tag);
return;
}