mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
InputCommon: Fix memory leak in ExpressionParser
We allocate in MakeSuppressor via `return unique_ptr(std::make_unique<...>(...).release(), InvokingDeleter{}`, so it wasn't properly getting freed.
This commit is contained in:
parent
b6d476241a
commit
f1f3fd5d9d
@ -37,6 +37,7 @@ public:
|
||||
void operator()(T* func)
|
||||
{
|
||||
(*func)();
|
||||
delete func;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user