From fcce58cc61e4ed66de7d81064f40ff5a4e5b6346 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 18 Oct 2008 14:12:56 +0200 Subject: Add extra argument free_on_fail to realloc_array() in Samba 4, as used by Samba 3. --- lib/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util/util.h') diff --git a/lib/util/util.h b/lib/util/util.h index 02309d118d..e4a5a0c662 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -634,7 +634,7 @@ _PUBLIC_ bool all_zero(const uint8_t *ptr, size_t size); /** realloc an array, checking for integer overflow in the array size */ -_PUBLIC_ void *realloc_array(void *ptr, size_t el_size, unsigned count); +_PUBLIC_ void *realloc_array(void *ptr, size_t el_size, unsigned count, bool free_on_fail); /* The following definitions come from lib/util/fsusage.c */ -- cgit