mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
bug : fix invalid read of size 8 error
(cherry picked from commit d5eca2da007c72eda0907362c3a8769f212cb568) Conflicts: src/pool/PoolSQL.cc
This commit is contained in:
parent
9e7e9e55d9
commit
72f596b187
@ -275,11 +275,11 @@ void PoolSQL::clean()
|
||||
it->second->lock();
|
||||
|
||||
delete it->second;
|
||||
|
||||
pool.erase(it);
|
||||
}
|
||||
|
||||
unlock();
|
||||
pool.clear();
|
||||
|
||||
unlock();
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user