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:
c69fa59
)
Fix memory leak introduced in the prior commit, detected by Tom Lane.
author
Alvaro Herrera
<
[email protected]
>
Fri, 30 Jun 2006 16:55:41 +0000
(16:55 +0000)
committer
Alvaro Herrera
<
[email protected]
>
Fri, 30 Jun 2006 16:55:41 +0000
(16:55 +0000)
src/bin/psql/common.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/common.c
b/src/bin/psql/common.c
index e9530c70feb9d5517cf02b5c222a2a6e414e4105..08056038d36c23951563da72a0637eec9edb79f1 100644
(file)
--- a/
src/bin/psql/common.c
+++ b/
src/bin/psql/common.c
@@
-1102,6
+1102,8
@@
SendQuery(const char *query)
ResetCancelConn();
return false;
}
+
+ PQclear(svptres);
}
PQclear(results);