From 03d490159c1e2541b009ac0751795d6e44fa9211 Mon Sep 17 00:00:00 2001 From: William Robinet Date: Wed, 13 May 2015 15:44:38 +0200 Subject: [PATCH] Do not use uninitialized variable --- common/lib/r_assoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/r_assoc.c b/common/lib/r_assoc.c index dfa1544..2fee9af 100644 --- a/common/lib/r_assoc.c +++ b/common/lib/r_assoc.c @@ -298,7 +298,7 @@ int r_assoc_copy(newp,old) r_assoc *new; if(!(new=(r_assoc *)calloc(sizeof(r_assoc),1))) - ABORT(r); + ABORT(R_NO_MEMORY); new->size=old->size; new->bits=old->bits;