mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()
metze
This commit is contained in:
parent
7102105c89
commit
c281f2fc1a
@ -1512,6 +1512,7 @@ _PUBLIC_ void *_talloc_realloc(const void *context, void *ptr, size_t size, cons
|
||||
memmove(pool_tc->pool, tc, old_used);
|
||||
new_ptr = pool_tc->pool;
|
||||
|
||||
tc = (struct talloc_chunk *)new_ptr;
|
||||
TC_UNDEFINE_GROW_CHUNK(tc, size);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user