From: Tom Lane Date: Thu, 14 Jul 2005 14:07:41 +0000 (+0000) Subject: Fix mis-backport of libpq memory leak fix. Per Michael Fuhr. X-Git-Tag: REL7_4_9~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecafa828c374a8c398c02093ca48872aa51f9824;p=postgresql Fix mis-backport of libpq memory leak fix. Per Michael Fuhr. --- diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 14c25c71fb..4871ab96fe 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -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) {