diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/talloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index 067d46f97d..7b827ca0c1 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -2561,7 +2561,7 @@ static bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size) for (l = limit; l != NULL; l = l->upper) { if (l->max_size != 0 && ((l->max_size <= l->cur_size) || - (l->max_size - l->cur_size < TC_HDR_SIZE+size))) { + (l->max_size - l->cur_size < size))) { return false; } } |