Commit 7d719a9c authored by Luis Soares's avatar Luis Soares

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).
parent 843f3816
...@@ -73,7 +73,10 @@ class Delegate { ...@@ -73,7 +73,10 @@ class Delegate {
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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment