diff options
Diffstat (limited to 'win32/time.c')
-rw-r--r-- | win32/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/time.c b/win32/time.c index 9063ebf629..dcc0943ec4 100644 --- a/win32/time.c +++ b/win32/time.c @@ -38,10 +38,10 @@ 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); + /* Lower the refcount */ + FreeLibrary(hMod); + } if(!timefunc) { /* 100ns blocks since 01-Jan-1641 */ |