Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » MSSQL connection cause memory leak
Re: MSSQL connection cause memory leak [message #47846 is a reply to message #47845] Mon, 10 April 2017 16:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
akebee wrote on Mon, 10 April 2017 16:11
yes,you`re right! Twisted Evil

add
SQLDisconnect(hdbc);
before
SQLFreeHandle(SQL_HANDLE_DBC, hdbc);

by the way,why not add "Close()" in "ODBCSession::~ODBCSession()"?


Perfect! Can you please, just to be sure, if the fix in trunk is OK?
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to connect to ODBC??
Next Topic: OleDB fails to build
Goto Forum:
  


Current Time: Sun Apr 28 00:28:52 CEST 2024

Total time taken to generate the page: 0.02509 seconds