Memory leak when using SQLParamData and SQLPutData

Поиск
Список
Период
Сортировка
От Mihai Giurgeanu
Тема Memory leak when using SQLParamData and SQLPutData
Дата
Msg-id 3607FFD4-9A1E-4481-8D34-68EEA4D8A34A@gmail.com
обсуждение исходный текст
Ответы Re: Memory leak when using SQLParamData and SQLPutData  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Список pgsql-odbc
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,
Mihai


Вложения

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: MS Access adds always actual day in time defined postgres column
Следующее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Memory leak when using SQLParamData and SQLPutData