List:Internals« Previous MessageNext Message »
From:pem Date:April 26 2005 6:39pm
Subject:bk commit into 5.0 tree (pem:1.1888)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of pem. When pem 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.1888 05/04/26 18:18:41 pem@stripped +1 -0
  Fixed memory leak in Item_func_sp::cleanup().

  sql/item_func.h
    1.107 05/04/26 18:18:36 pem@stripped +2 -0
    Fixed memory leak in Item_func_sp::cleanup().

# 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:	pem
# Host:	mysql.comhem.se
# Root:	/home/pem/work/mysql-5.0

--- 1.106/sql/item_func.h	Wed Apr 20 19:08:27 2005
+++ 1.107/sql/item_func.h	Tue Apr 26 18:18:36 2005
@@ -1301,6 +1301,8 @@
 
   void cleanup()
   {
+    if (result_field)
+      delete result_field;
     Item_func::cleanup();
     result_field= NULL;
   }
Thread
bk commit into 5.0 tree (pem:1.1888)pem26 Apr