Skip to content

Commit

Permalink
Remove inappropriate FreeLibrary call
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jun 11, 2018
1 parent 3d7284d commit 7dcfa83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions win32/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7dcfa83

Please sign in to comment.