projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459b1de
)
Fix mis-backport of libpq memory leak fix. Per Michael Fuhr.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 14 Jul 2005 14:07:41 +0000
(14:07 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 14 Jul 2005 14:07:41 +0000
(14:07 +0000)
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index af50cae847ec892f9dc50632e67f6b740e6521e3..ebe68c39b78575d7b94be99c0ad14cc554111230 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-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)
{