From 624c77ab43e7c4c845b2a01c0a716d3f4a4d409e Mon Sep 17 00:00:00 2001 From: Cebtenzzre Date: Wed, 23 Jun 2021 17:39:30 -0400 Subject: [PATCH] tag/Builder: another missing RemoveAll() call --- src/tag/Builder.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tag/Builder.cxx b/src/tag/Builder.cxx index 3f265f5e2..8f38ae172 100644 --- a/src/tag/Builder.cxx +++ b/src/tag/Builder.cxx @@ -63,6 +63,8 @@ TagBuilder::operator=(const TagBuilder &other) noexcept /* copy all attributes */ duration = other.duration; has_playlist = other.has_playlist; + + RemoveAll(); items = other.items; /* increment the tag pool refcounters */