Re: Memory leak when using SQLParamData and SQLPutData

Поиск
Список
Период
Сортировка
От Mihai Giurgeanu
Тема Re: Memory leak when using SQLParamData and SQLPutData
Дата
Msg-id CAK99rheZ1o9SC0YGhed+5Yn7Z6q34Nbf2vs5VDcA7ofM=KttRA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Memory leak when using SQLParamData and SQLPutData  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Ответы Re: Memory leak when using SQLParamData and SQLPutData  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Список pgsql-odbc
Hi Hiroshi,

Thank you for your reply and let me know if I can do anything to help.

Thank you,
Mihai


On Dec 21, 2017 2:50 PM, "Inoue, Hiroshi" <h-inoue@dream.email.ne.jp> wrote:
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 and SQLPutData, the driver will leak memory for parameters. The memory will not be deallocated not even the handles are freed and 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 по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Memory leak when using SQLParamData and SQLPutData
Следующее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Memory leak when using SQLParamData and SQLPutData