mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Automerged (cherrypicked) cset from 5.6:
zhenxing.he@sun.com-20101117085902-n9gfvlkmm44t38y0 This takes care of valgrind warnings in 5.5 that exhibit the same trace as in BUG#11763879 (BUG#56649).
This commit is contained in:
@ -73,7 +73,10 @@ public:
|
|||||||
while (info && info->observer != observer)
|
while (info && info->observer != observer)
|
||||||
info= iter++;
|
info= iter++;
|
||||||
if (info)
|
if (info)
|
||||||
|
{
|
||||||
iter.remove();
|
iter.remove();
|
||||||
|
delete info;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
ret= TRUE;
|
ret= TRUE;
|
||||||
unlock();
|
unlock();
|
||||||
|
Reference in New Issue
Block a user