mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
patterns: Fixed memory leak when using format attribute
This commit is contained in:
@@ -25,7 +25,7 @@ namespace hex::plugin::builtin {
|
||||
auto ¶m = params[i];
|
||||
|
||||
std::visit(overloaded {
|
||||
[&](const std::shared_ptr<pl::Pattern> &value) {
|
||||
[&](pl::Pattern *value) {
|
||||
formatArgs.push_back(value->toString(ctx->getProvider()));
|
||||
},
|
||||
[&](auto &&value) {
|
||||
|
||||
Reference in New Issue
Block a user