MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:April 25 2006 5:04pm
Subject:bk commit into 5.0 tree (stewart:1.2095) BUG#19340
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/25 10:04:46 stewart@stripped +1 -0
  BUG#19340 small leak in ndbd
  
  small cleanup fixes in kernel/vm/Configuration

  ndb/src/kernel/vm/Configuration.cpp
    1.45 06/04/25 10:04:42 stewart@stripped +8 -0
    clean up m_logLevel
    
    free the connectstring if we allocated one

# 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/bug19340

--- 1.44/ndb/src/kernel/vm/Configuration.cpp	2006-04-06 02:43:28 -07:00
+++ 1.45/ndb/src/kernel/vm/Configuration.cpp	2006-04-25 10:04:42 -07:00
@@ -210,9 +210,13 @@
   m_config_retriever= 0;
   m_clusterConfig= 0;
   m_clusterConfigIter= 0;
+  m_logLevel= 0;
 }
 
 Configuration::~Configuration(){
+  if (opt_connect_str)
+    free(_connectString);
+
   if(_programName != NULL)
     free(_programName);
 
@@ -224,6 +228,10 @@
 
   if (m_config_retriever) {
     delete m_config_retriever;
+  }
+
+  if(m_logLevel) {
+    delete m_logLevel;
   }
 }
 
Thread
bk commit into 5.0 tree (stewart:1.2095) BUG#19340Stewart Smith25 Apr