1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Add a comment.

Michael
(This used to be commit 3a4bf4b7c3)
This commit is contained in:
Michael Adam 2008-01-09 01:35:43 +01:00
parent ebb21268df
commit 2e3ac4d3fe

View File

@ -792,6 +792,7 @@ void *_talloc_realloc(const void *context, void *ptr, size_t size, const char *n
return NULL;
}
/* don't shrink if we have less than 1k to gain */
if ((size < tc->size) && ((tc->size - size) < 1024)) {
tc->size = size;
return ptr;