diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/metadata_pipe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/metadata_pipe.c b/src/metadata_pipe.c index 2dc2b608f..5508b97c8 100644 --- a/src/metadata_pipe.c +++ b/src/metadata_pipe.c @@ -149,5 +149,10 @@ void metadata_pipe_clear(void) freeMpdTag(tc.tag); } + if (current_tag) { + freeMpdTag(current_tag); + current_tag = NULL; + } + pthread_mutex_unlock(&read_lock); } |