MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:He Zhenxing Date:November 17 2010 8:59am
Subject:bzr commit into mysql-trunk branch (zhenxing.he:3345) Bug#56649
View as plain text  
#At file:///media/sdb2/hezx/work/mysql/bzr/b56649/trunk-bugfixing/ based on revid:mats.kindahl@stripped

 3345 He Zhenxing	2010-11-17
      BUG#56649 Valgrind warnings for memory leak in semisync plugin (Delegate class)
      
      The Observer_info object allocated when INSTALL semisync plugin was
      not free after UNINSTALL the plugin.
      
      Fixed the problem by free the object when UNINTSALL.

    modified:
      sql/rpl_handler.h
=== modified file 'sql/rpl_handler.h'
--- a/sql/rpl_handler.h	2010-07-02 18:15:21 +0000
+++ b/sql/rpl_handler.h	2010-11-17 08:59:02 +0000
@@ -73,7 +73,10 @@ public:
     while (info && info->observer != observer)
       info= iter++;
     if (info)
+    {
       iter.remove();
+      delete info;
+    }
     else
       ret= TRUE;
     unlock();


Attachment: [text/bzr-bundle] bzr/zhenxing.he@sun.com-20101117085902-n9gfvlkmm44t38y0.bundle
Thread
bzr commit into mysql-trunk branch (zhenxing.he:3345) Bug#56649He Zhenxing17 Nov