diff --git a/plugins/libimhex/include/hex/lang/pattern_data.hpp b/plugins/libimhex/include/hex/lang/pattern_data.hpp index cc4b9f06e..e393fb8cb 100644 --- a/plugins/libimhex/include/hex/lang/pattern_data.hpp +++ b/plugins/libimhex/include/hex/lang/pattern_data.hpp @@ -642,6 +642,8 @@ namespace hex::lang { } void setMembers(const std::vector & members) { + this->m_members.clear(); + for (auto &member : members) { if (member == nullptr) continue;