aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-01-11 21:59:46 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-01-11 21:59:46 +0000
commit5976daa84301232da25e9cda415fa724aaef8eec (patch)
treebc4fdf8a96527f0272859e15d53982fdebe797f3
parent5da418e92a0797f0ab81db571265300738179e0b (diff)
downloaddlfcn-win32-r19.tar.gz
dlfcn-win32-r19.tar.bz2
dlfcn-win32-r19.zip
Clear ->next after creating nobject.r19
-rw-r--r--dlfcn.c1
1 files changed, 1 insertions, 0 deletions
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 )
75 return; 75 return;
76 76
77 pobject->next = nobject; 77 pobject->next = nobject;
78 nobject->next = NULL;
78 nobject->previous = pobject; 79 nobject->previous = pobject;
79 nobject->hModule = hModule; 80 nobject->hModule = hModule;
80} 81}