From: Kurt Zeilenga Date: Sat, 10 Jun 2000 00:17:55 +0000 (+0000) Subject: Fix LBER_MEMORY_DEBUG failed realloc bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2678 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b836babb6b476995ea8795cb3575354c7a8187d;p=openldap Fix LBER_MEMORY_DEBUG failed realloc bug --- diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 24a4eddfb7..3b4be421ba 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -198,7 +198,7 @@ ber_memcalloc( ber_len_t n, ber_len_t s ) void * ber_memrealloc( void* p, ber_len_t s ) { - void *new; + void *new = NULL; ber_int_options.lbo_valid = LBER_INITIALIZED; /* realloc(NULL,s) -> malloc(s) */