summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2021-06-23 17:39:30 -0400
committerMax Kellermann <max@musicpd.org>2021-08-05 14:25:05 +0200
commit624c77ab43e7c4c845b2a01c0a716d3f4a4d409e (patch)
tree9125e3b6bd12046f750cf4108b8be54144f04e2d
parentba13b4b5d617aa1073051ac73df9e41b42dbbb21 (diff)
tag/Builder: another missing RemoveAll() call
-rw-r--r--src/tag/Builder.cxx2
1 files changed, 2 insertions, 0 deletions
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 */