summaryrefslogtreecommitdiff
path: root/sql/rpl_handler.h
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@oracle.com>2011-05-04 14:09:54 +0100
committerLuis Soares <luis.soares@oracle.com>2011-05-04 14:09:54 +0100
commit7d719a9cc951447b2a4f066dc4cd8843c860f54b (patch)
treefb0af8c287c60e74036fd08620ba09051f6777e6 /sql/rpl_handler.h
parent843f3816c7fbd1c8f498269a58ad17223da866d9 (diff)
downloadmariadb-git-7d719a9cc951447b2a4f066dc4cd8843c860f54b.tar.gz
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).
Diffstat (limited to 'sql/rpl_handler.h')
-rw-r--r--sql/rpl_handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/rpl_handler.h b/sql/rpl_handler.h
index bf207e53e2d..9a181250efc 100644
--- a/sql/rpl_handler.h
+++ b/sql/rpl_handler.h
@@ -73,7 +73,10 @@ public:
while (info && info->observer != observer)
info= iter++;
if (info)
+ {
iter.remove();
+ delete info;
+ }
else
ret= TRUE;
unlock();