Skip to content

Commit 7dcfa83

Browse files
committed
Remove inappropriate FreeLibrary call
1 parent 3d7284d commit 7dcfa83

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

win32/time.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ static zend_always_inline MyGetSystemTimeAsFileTime get_time_func(void)
3838
if (hMod) {
3939
/* Max possible resolution <1us, win8/server2012 */
4040
timefunc = (MyGetSystemTimeAsFileTime)GetProcAddress(hMod, "GetSystemTimePreciseAsFileTime");
41-
42-
/* Lower the refcount */
43-
FreeLibrary(hMod);
4441
}
4542

4643
if(!timefunc) {

0 commit comments

Comments
 (0)