PQescapeBytea on Win32

Поиск
Список
Период
Сортировка
От Key88 SF
Тема PQescapeBytea on Win32
Дата
Msg-id F159qHSgNZuILS94O9J00042a23@hotmail.com
обсуждение исходный текст
Ответы Re: PQescapeBytea on Win32  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Hi - there is a problem with PQescapeBytea for Win32. Since libpq is a DLL, 
all memory allocated from within the DLL needs to be freed from within the 
dll.

PQescapeBytea allocates memory, but there is no function call back into the 
DLL to free this memory. This causes heap corruption when the main program 
tries to free the memory itself. The alternative is to just leak the memory 
and never free it. Also bad....

-Dave Brown
key88sf@hotmail.com


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: cursors outside transactions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PQescapeBytea on Win32