Ticket #6378: block_cache_leak.patch
File block_cache_leak.patch, 561 bytes (added by , 14 years ago) |
---|
-
kernel/cache/block_cache.cpp
2934 2934 if (block->parent_data == NULL 2935 2935 || block->parent_data != block->current_data) { 2936 2936 // we need to move this block over to the new transaction 2937 if (block->original_data != NULL) 2938 cache->Free(block->original_data); 2937 2939 block->original_data = block->parent_data; 2938 2940 if (last == NULL) 2939 2941 newTransaction->first_block = block;