List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:April 24 2006 11:38pm
Subject:bk commit into 5.0 tree (stewart:1.2095) BUG#19318
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of stewart. When stewart does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2095 06/04/24 16:38:28 stewart@stripped +1 -0
  BUG#19318 valgrind: memory leak in ndb_mgmd
  
  now deal with memory correctly during ConfigInfo construction (due to previous changes)

  ndb/src/mgmsrv/ConfigInfo.cpp
    1.73 06/04/24 16:38:18 stewart@stripped +4 -4
    Correctly deal with memory during ConfigInfo construction

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.0/bug19318

--- 1.72/ndb/src/mgmsrv/ConfigInfo.cpp	2006-04-24 15:59:30 -07:00
+++ 1.73/ndb/src/mgmsrv/ConfigInfo.cpp	2006-04-24 16:38:18 -07:00
@@ -2229,11 +2229,11 @@
     if (!m_info.getCopy(param._section, &section)) {
       Properties newsection(true);
       m_info.put(param._section, &newsection);
+
+      // Get copy of section
+      m_info.getCopy(param._section, &section);
     }
-    
-    // Get copy of section
-    m_info.getCopy(param._section, &section);
-    
+
     // Create pinfo (parameter info) entry 
     Properties pinfo(true); 
     pinfo.put("Id",          param._paramId);
Thread
bk commit into 5.0 tree (stewart:1.2095) BUG#19318Stewart Smith25 Apr