Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ? - Mailing list pgsql-odbc

From Bruno LEGAY
Subject Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Date
Msg-id 0D3DC98A-6B5B-432B-8B8A-0740AD0BCF81@ac-consulting.fr
Whole thread Raw
In response to Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
Hi,

Spot on. Your patch fixed the leak :-)

Great. Thank you !!!

Bruno

Le 8 avr. 2013 à 14:53, Heikki Linnakangas a écrit :

> On 08.04.2013 14:05, blegay wrote:
>> Hi,
>>
>> I have been able to reproduce and isolate the problem in a C code...
>> It is related to the SQLNumResultCols ODBC function after a call to
>> SQLMoreResults which does not return any lines (it is an INSERT statement).
>>
>> Can anybody help ?
>
> I think this is the same bug that I spotted a few weeks back:
http://www.postgresql.org/message-id/5143041A.20605@vmware.com.
>
> Your test case isn't exactly the same, but the same patch seems to fix yours, too.
>
> I've been meaning to commit that, along with a bunch of other fixes. But I've been holding back because I'd actually
wantto migrate the psqlodbc repository to git first. In any case, that should be fixed in the next version. 
>
> Thanks for the report!
>
> - Heikki
>



pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Next
From: Vadim Zeitlin
Date:
Subject: Regression with no results returned from query between 9.01.01 and 9.01.02