Menu

#644 Fix FreeLibrary() misuse

Next_release
closed
nobody
None
9
2015-03-12
2015-01-18
Pavel Nedev
No

Remove erroneous use of FreeLibrary(_hUser32) after _hUser32 = ::GetModuleHandle(TEXT("User32")). According to MSDN FreeLibrary() reduces the reference count for the module but GetModuleHandle() doesn't increase it in the first place.

1 Attachments

Discussion

  • Don HO

    Don HO - 2015-01-31
    • status: open --> accepted
    • Priority: 5 --> 9
     
  • Don HO

    Don HO - 2015-03-12
    • Status: accepted --> closed