diff options
author | Yang Tse <yangsita@gmail.com> | 2011-08-17 19:02:42 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-08-17 19:02:42 +0200 |
commit | 31a1af5ebb0deb8a18de8cb7fa26df1a60afef47 (patch) | |
tree | 98c1cf8057320ad8523734321520343b95d3f1e5 /tests/data/test209 | |
parent | 9710f387c40b4f911c2522f024155516fa8ab3e7 (diff) |
MemoryTracking: adjust curl_domalloc() and curl_dofree() memory filling
Until 2011-08-17 libcurl's Memory Tracking feature also performed
automatic malloc and free filling operations using 0xA5 and 0x13
values. Our own preinitialization of dynamically allocated memory
might be useful when not using third party memory debuggers, but
on the other hand this would fool memory debuggers into thinking
that all dynamically allocated memory is properly initialized.
As a default setting, libcurl's Memory Tracking feature no longer
performs preinitialization of dynamically allocated memory on its
own. If you know what you are doing, and really want to retain old
behavior, you can achieve this compiling with preprocessor symbols
CURL_MT_MALLOC_FILL and CURL_MT_FREE_FILL defined with appropriate
values.
Diffstat (limited to 'tests/data/test209')
0 files changed, 0 insertions, 0 deletions