Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPBaQ-0000fc-5m for pgsql-odbc@arkaria.postgresql.org; Mon, 08 Apr 2013 12:54:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UPBaP-0000np-Dy for pgsql-odbc@arkaria.postgresql.org; Mon, 08 Apr 2013 12:54:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPBaO-0000nj-NN for pgsql-odbc@postgresql.org; Mon, 08 Apr 2013 12:54:12 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPBaF-0006z3-8I for pgsql-odbc@postgresql.org; Mon, 08 Apr 2013 12:54:11 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 0CFCE289FE; Mon, 8 Apr 2013 05:53:59 -0700 (PDT) Received: from zcs-prod-mta-3.vmware.com (zcs-prod-mta-3.vmware.com [10.113.163.65]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 08C7C184F6; Mon, 8 Apr 2013 05:53:59 -0700 (PDT) Received: from zcs-prod-mta-3.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTP id E91DBE01B5; Mon, 8 Apr 2013 05:53:58 -0700 (PDT) Received: from [10.113.225.216] (unknown [10.113.160.14]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTPSA id 2C9C5E0081; Mon, 8 Apr 2013 05:53:57 -0700 (PDT) Message-ID: <5162BDE2.40704@vmware.com> Date: Mon, 08 Apr 2013 15:53:54 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: blegay CC: pgsql-odbc@postgresql.org Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ? References: <1365106058286-5750832.post@n5.nabble.com> <1365133737522-5750890.post@n5.nabble.com> <1365232946306-5751040.post@n5.nabble.com> <1365419127118-5751192.post@n5.nabble.com> In-Reply-To: <1365419127118-5751192.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -9.3 (---------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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 want to migrate the psqlodbc repository to git first. In any case, that should be fixed in the next version. Thanks for the report! - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc