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:
77b231d
)
Fix mis-backport of libpq memory leak fix. Per Michael Fuhr.
author
Tom Lane
<
[email protected]
>
Thu, 14 Jul 2005 14:07:50 +0000
(14:07 +0000)
committer
Tom Lane
<
[email protected]
>
Thu, 14 Jul 2005 14:07:50 +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 312d89309281adf1b09cbbdfad64dc424baab80c..834a0958031029f514ca167850afeafbaf846dbf 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-1996,7
+1996,7
@@
closePGconn(PGconn *conn)
pqClearAsyncResult(conn); /* deallocate result and curTuple */
if (conn->notifyList)
DLFreeList(conn->notifyList);
- conn->notifyList =
NULL
;
+ conn->notifyList =
DLNewList()
;
if (conn->lobjfuncs)
free(conn->lobjfuncs);
conn->lobjfuncs = NULL;