List:Commits« Previous MessageNext Message »
From:Sunny Bains Date:April 28 2010 10:59pm
Subject:bzr commit into mysql-trunk-innodb branch (Sunny.Bains:3046)
View as plain text  
#At file:///Users/sunny/innodb/bzr/mysql-trunk-innodb/ based on revid:sunny.bains@stripped

 3046 Sunny Bains	2010-04-29
      Free buf_pool->watch when freeing a buffer pool instance.

    modified:
      storage/innobase/buf/buf0buf.c
=== modified file 'storage/innobase/buf/buf0buf.c'
--- a/storage/innobase/buf/buf0buf.c	revid:sunny.bains@stripped
+++ b/storage/innobase/buf/buf0buf.c	revid:sunny.bains@stripped
@@ -1266,6 +1266,9 @@ buf_pool_free_instance(
 	buf_chunk_t*	chunk;
 	buf_chunk_t*	chunks;
 
+	mem_free(buf_pool->watch);
+	buf_pool->watch = NULL;
+
 	chunks = buf_pool->chunks;
 	chunk = chunks + buf_pool->n_chunks;
 


Attachment: [text/bzr-bundle] bzr/sunny.bains@oracle.com-20100428225431-qrx84o3ap4yjxrdy.bundle
Thread
bzr commit into mysql-trunk-innodb branch (Sunny.Bains:3046) Sunny Bains29 Apr