Hi
Let me report about memleak issue with latest 17.6 version of the driver under Linux. After some simple tests with the driver (connect/select) I've got following message from Clang v10 ASAN:
=================================================================
==9296==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 2928 byte(s) in 122 object(s) allocated from:
#0 0x167b13d in operator new(unsigned long) /home/brian/src/final/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:99:3
#1 0x7f3ba6945c5a (/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.6.so.1.1+0x17dc5a)
Indirect leak of 10736 byte(s) in 122 object(s) allocated from:
#0 0x167b13d in operator new(unsigned long) /home/brian/src/final/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:99:3
#1 0x7f3ba68d01f9 (/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.6.so.1.1+0x1081f9)
SUMMARY: AddressSanitizer: 13664 byte(s) leaked in 244 allocation(s).
The same test with libmsodbcsql-17.5.so.2.1 library works perfectly, ASAN seems happy with it.