filter/Observer: fix memory leak
This commit is contained in:
parent
a012b25335
commit
1a4a6f3807
@ -41,6 +41,7 @@ public:
|
|||||||
assert(observer.proxy == this);
|
assert(observer.proxy == this);
|
||||||
|
|
||||||
observer.proxy = nullptr;
|
observer.proxy = nullptr;
|
||||||
|
delete prepared_filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Clear(gcc_unused Proxy *_child) {
|
void Clear(gcc_unused Proxy *_child) {
|
||||||
|
Loading…
Reference in New Issue
Block a user