From 7b836babb6b476995ea8795cb3575354c7a8187d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 10 Jun 2000 00:17:55 +0000 Subject: [PATCH] Fix LBER_MEMORY_DEBUG failed realloc bug --- libraries/liblber/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- 2.39.5