aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-01-20 16:36:17 +0000
committerTimothy Gu <timothygu99@gmail.com>2014-01-20 16:36:17 +0000
commitb9be226f9745936f6ae942dc7cb594fb6bc082b6 (patch)
treeab4488ece17341fb1f906a8ff08af91770dfef11
parent63d66aaceaddf7ede9f9f42cc35ed641f62ddb3b (diff)
downloaddlfcn-win32-b9be226f9745936f6ae942dc7cb594fb6bc082b6.tar.gz
dlfcn-win32-b9be226f9745936f6ae942dc7cb594fb6bc082b6.tar.bz2
dlfcn-win32-b9be226f9745936f6ae942dc7cb594fb6bc082b6.zip
Remove extraneous CloseHandle
Fixes issue 13.
-rw-r--r--dlfcn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dlfcn.c b/dlfcn.c
index 59e7fa6..fa88d83 100644
--- a/dlfcn.c
+++ b/dlfcn.c
@@ -291,8 +291,6 @@ void *dlsym( void *handle, const char *name )
291 } 291 }
292 } 292 }
293 } 293 }
294
295 CloseHandle( hModule );
296 } 294 }
297 295
298 if( symbol == NULL ) 296 if( symbol == NULL )