mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
dbms: fixed leak [#CONV-2944].
This commit is contained in:
parent
5b341830e9
commit
d95a55ca82
@ -93,6 +93,7 @@ public:
|
||||
AutoArray & operator= (const AutoArray & src)
|
||||
{
|
||||
// std::cerr << this << " operator=(const AutoArray & src)" << std::endl;
|
||||
uninit();
|
||||
data = src.data;
|
||||
const_cast<AutoArray<T> &>(src).setEmpty();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user