diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-14 14:07:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-14 14:07:41 +0000 |
commit | ecafa828c374a8c398c02093ca48872aa51f9824 (patch) | |
tree | b313f6d40c3600e29c69e54d483312370ae854a6 | |
parent | 57bdab7d35174879b77f229589e811c9acdf4492 (diff) |
Fix mis-backport of libpq memory leak fix. Per Michael Fuhr.
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 14c25c71fbe..4871ab96fe1 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) { |