From 06264a4b4b79775f88e586d7a87285713808b953 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Thu, 24 May 2007 15:04:33 +1000 Subject: [PATCH] fix slack code that was probably never used anyway r1981 | dcl | 2007-05-24 15:04:33 +1000 (Thu, 24 May 2007) | 2 lines --- lld.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lld.c b/lld.c index 0c6ce124..c66db0f3 100644 --- a/lld.c +++ b/lld.c @@ -87,6 +87,7 @@ static int ListInit( int List, int ItemSize ) Tmp = NODE_MALLOC( List ); if( NULL == Tmp ) { + Tmp = ListControl[ List ].first; NODE_FREE( Tmp ); /* no need to cause memory leaks */ ListControl[ List ].first = NULL ; /* or other errors */ return ERR_MEMORY ; /* even if we're in trouble ... */