Re: Memory leak when using SQLParamData and SQLPutData - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: Memory leak when using SQLParamData and SQLPutData
Date
Msg-id 0e255902-c67c-21ad-2f60-dd4f2b32a7b9@dream.email.ne.jp
Whole thread Raw
In response to Memory leak when using SQLParamData and SQLPutData  (Mihai Giurgeanu <mihai.giurgeanu@gmail.com>)
Responses Re: Memory leak when using SQLParamData and SQLPutData  (Mihai Giurgeanu <mihai.giurgeanu@gmail.com>)
List pgsql-odbc
Hi Mihai,

On 2017/12/21 17:26, Mihai Giurgeanu wrote:
> Hi,
>
> When executing a prepared insert statement and using SQL_DATA_AT_EXEC parameters that will be sent with SQLParamData
andSQLPutData, the driver will leak memory for parameters. The memory will not be deallocated not even the handles are
freedand the program disconnects from the database.
 
>
> I am attaching a small project to demonstrate the bug. You can also browse the project at
https://hub.darcs.net/mihaigiurgeanu/psqlodbc-insert-leak

Thanks for the report.
It would take some time to examine the issue because I am very busy now,

regards,
Hiroshi Inoue


pgsql-odbc by date:

Previous
From: Mihai Giurgeanu
Date:
Subject: Memory leak when using SQLParamData and SQLPutData
Next
From: Mihai Giurgeanu
Date:
Subject: Re: Memory leak when using SQLParamData and SQLPutData