← Back to team overview

maria-developers team mailing list archive

bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (knielsen:2806)

 

#At lp:maria

 2806 knielsen@xxxxxxxxxxxxxxx	2010-01-17
      Fix freed-twice error in XtraDB (from InnoDB plugin 1.0.6).
      modified:
        storage/xtradb/srv/srv0start.c

=== modified file 'storage/xtradb/srv/srv0start.c'
--- a/storage/xtradb/srv/srv0start.c	2010-01-15 15:58:25 +0000
+++ b/storage/xtradb/srv/srv0start.c	2010-01-17 08:41:43 +0000
@@ -2057,8 +2057,8 @@ innobase_shutdown_for_mysql(void)
 	pars_lexer_close();
 	log_mem_free();
 	buf_pool_free();
-	ut_free_all_mem();
 	mem_close();
+	ut_free_all_mem();
 
 	if (os_thread_count != 0
 	    || os_event_count != 0