commit | 1271185b87fcf54afb37dc05e7e0c58e5fb8f06a | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Wed Dec 12 10:12:18 2012 -0800 |
committer | Jason Evans <jasone@canonware.com> | Wed Dec 12 10:12:18 2012 -0800 |
tree | ea52affe51247a2cadfb09ed39439ae4647dd80e | |
parent | 6eb84fbe315add1e1d4f8deedc25d260fff3ae97 [diff] |
Fix chunk_recycle() Valgrind integration. Fix chunk_recycyle() to unconditionally inform Valgrind that returned memory is undefined. This fixes Valgrind warnings that would result from a huge allocation being freed, then recycled for use as an arena chunk. The arena code would write metadata to the chunk header, and Valgrind would consider these invalid writes.