[ODBC-380] Memory leak if connected with multistatement option Created: 2023-01-20  Updated: 2023-01-24  Resolved: 2023-01-21

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.17
Fix Version/s: 3.1.18

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MXS-2709 ETL / Data Migration Service Closed

 Description   

The leak occurs once during connection procedure due to missing MADB_DynstrFree call.



 Comments   
Comment by Lawrin Novitsky [ 2023-01-21 ]

Also the commit contains fixed for other found leaks, like:
If string field is SQLGetData'ed as datetime;
In SQLColumns in case of invalid parameters error;
In most cases of SQLGetData as SQL_NUMERIC;
In execution with parameters array for date/time parameter types.

Generated at Thu Feb 08 03:28:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.