diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-05-02 13:50:52 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-05-02 13:58:22 +0200 |
commit | f0f5ac18e55062dcde28003cebc09fa3eb6ae6a5 (patch) | |
tree | 02cd2201ef611aa88e0daec1d40aaa8e55dcdedd /libcli/util | |
parent | d87427973c0f43d85546f5875b223929ac1a50d4 (diff) | |
download | samba-f0f5ac18e55062dcde28003cebc09fa3eb6ae6a5.tar.gz samba-f0f5ac18e55062dcde28003cebc09fa3eb6ae6a5.tar.bz2 samba-f0f5ac18e55062dcde28003cebc09fa3eb6ae6a5.zip |
talloc: use TC_UNDEFINE_SHRINK_CHUNK() instead of TC_INVALIDATE_SHRINK_CHUNK() for realloc path
If we optimize on top of raw realloc() we need
TC_INVALIDATE_SHRINK_CHUNK together with TC_UNDEFINE_GROW_CHUNK
(with was missing and caused false positive valgrind warnings).
But that is really slow, as we do a lot of talloc_realloc calls in samba.
That's why we only to TC_UNDEFINE_SHRINK_CHUNK() for now.
metze
Diffstat (limited to 'libcli/util')
0 files changed, 0 insertions, 0 deletions