diff options
| author | dakovalkov <[email protected]> | 2023-11-01 15:15:28 +0300 |
|---|---|---|
| committer | dakovalkov <[email protected]> | 2023-11-01 15:48:41 +0300 |
| commit | 11dc768b88fd64e4a9526678105970be2008e603 (patch) | |
| tree | 00a118b500d7d8b768ae6cc62886b3331a928a69 | |
| parent | d8b14f12621053b523b703f94dbd13eb1dc64861 (diff) | |
Fix memory leak in Poco::Dynamiv::Var
| -rw-r--r-- | contrib/libs/poco/Foundation/include/Poco/Dynamic/Var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/Dynamic/Var.h b/contrib/libs/poco/Foundation/include/Poco/Dynamic/Var.h index bd06afe54bb..1288921314c 100644 --- a/contrib/libs/poco/Foundation/include/Poco/Dynamic/Var.h +++ b/contrib/libs/poco/Foundation/include/Poco/Dynamic/Var.h @@ -231,6 +231,7 @@ public: Var tmp(other); swap(tmp); #else + destruct(); construct(other); #endif return *this; |
