From: Date: December 17 2007 11:38am Subject: bk commit into 5.1 tree (sven:1.2655) List-Archive: http://lists.mysql.com/commits/40087 Message-Id: <20071217103858.3B096B7220@riska> Below is the list of changes that have just been committed into a local 5.1 repository of sven. When sven 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@stripped, 2007-12-17 11:38:54+01:00, sven@riska.(none) +1 -0 One-line bugfix in mysqlbinlog.cc client/mysqlbinlog.cc@stripped, 2007-12-17 11:38:51+01:00, sven@riska.(none) +2 -1 Avoid `delete NULL'. diff -Nrup a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc --- a/client/mysqlbinlog.cc 2007-09-15 05:10:31 +02:00 +++ b/client/mysqlbinlog.cc 2007-12-17 11:38:51 +01:00 @@ -1482,7 +1482,8 @@ static int dump_local_log_entries(PRINT_ if (!glob_description_event || !glob_description_event->is_valid()) { - delete glob_description_event; + if (glob_description_event) + delete glob_description_event; die("Invalid Format_description log event; could be out of memory"); }