Skip site navigation (1) Skip section navigation (2)

pgsql/src/interfaces/ecpg/lib (execute.c)

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/ecpg/lib (execute.c)
Date: 2001-01-02 22:03:02
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
  Date: Tuesday, January  2, 2001 @ 17:03:02
Author: momjian

Update of /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/lib

Modified Files:

-----------------------------  Log Message  -----------------------------

I've found a memory leak in libecpg of PostgreSQL 7.0.3.
The leak is caused by the memory allocation in
src/interfaces/ecpg/lib/execute.c in line 669 which is never freed.
Adding a "free(array_query);" after PQexec in line 671 seems to fix the

Thorsten Knabe

pgsql-committers by date

Next:From: petereDate: 2001-01-02 22:13:05
Subject: pgsql (configure
Previous:From: Ian Lance TaylorDate: 2001-01-02 20:53:32
Subject: Re: [HACKERS] Re: pgsql/src (

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group