Commit b9be226f9745936f6ae942dc7cb594fb6bc082b6

Timothy Gu 2014-01-20T16:36:17

Remove extraneous CloseHandle Fixes issue 13.

1
2
3
4
5
6
7
8
9
10
11
12
13
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 )
                 }
             }
         }
-
-        CloseHandle( hModule );
     }
 
     if( symbol == NULL )