mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 00:32:10 -04:00
Fix mis-backport of libpq memory leak fix. Per Michael Fuhr.
This commit is contained in:
parent
57bdab7d35
commit
ecafa828c3
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.263.2.3 2005/07/13 15:26:16 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.263.2.4 2005/07/14 14:07:41 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -2116,7 +2116,7 @@ closePGconn(PGconn *conn)
|
|||
conn->addr_cur = NULL;
|
||||
if (conn->notifyList)
|
||||
DLFreeList(conn->notifyList);
|
||||
conn->notifyList = NULL;
|
||||
conn->notifyList = DLNewList();
|
||||
pstatus = conn->pstatus;
|
||||
while (pstatus != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue