From 7dcfa839c935096706d257d2bf8f9940b78b2903 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 11 Jun 2018 13:49:42 +0200 Subject: Remove inappropriate FreeLibrary call --- win32/time.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'win32/time.c') diff --git a/win32/time.c b/win32/time.c index 58f4230c50..f5c8ff5683 100644 --- a/win32/time.c +++ b/win32/time.c @@ -38,9 +38,6 @@ static zend_always_inline MyGetSystemTimeAsFileTime get_time_func(void) if (hMod) { /* Max possible resolution <1us, win8/server2012 */ timefunc = (MyGetSystemTimeAsFileTime)GetProcAddress(hMod, "GetSystemTimePreciseAsFileTime"); - - /* Lower the refcount */ - FreeLibrary(hMod); } if(!timefunc) { -- cgit v1.2.1