Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odbc: Avoid possible leak detection on driver unload
For debug Windows build if the ODBC driver is unloaded a leak detector is activated. It looks like from AppVeyor logs that sometimes during the leak detector some leak are detected. To avoid these false positive free memory before calling SQLFreeEnv (which could unload the driver from memory). Also decrease socket library counter calling WSACleanup(). Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
- Loading branch information