diff options
author | Cebtenzzre <cebtenzzre@gmail.com> | 2021-06-23 17:39:30 -0400 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-08-05 14:25:05 +0200 |
commit | 624c77ab43e7c4c845b2a01c0a716d3f4a4d409e (patch) | |
tree | 9125e3b6bd12046f750cf4108b8be54144f04e2d | |
parent | ba13b4b5d617aa1073051ac73df9e41b42dbbb21 (diff) |
tag/Builder: another missing RemoveAll() call
-rw-r--r-- | src/tag/Builder.cxx | 2 |
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 */ |