From 5976daa84301232da25e9cda415fa724aaef8eec Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Sun, 11 Jan 2009 21:59:46 +0000 Subject: Clear ->next after creating nobject. --- dlfcn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlfcn.c b/dlfcn.c index e8b7223..59e7fa6 100644 --- a/dlfcn.c +++ b/dlfcn.c @@ -75,6 +75,7 @@ static void global_add( HMODULE hModule ) return; pobject->next = nobject; + nobject->next = NULL; nobject->previous = pobject; nobject->hModule = hModule; } -- cgit v1.2.3-55-g6feb