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:
fb3fcbb
)
Don't try to free pgpassfile since it's a stack variable.
author
Magnus Hagander
<
[email protected]
>
Tue, 9 Oct 2007 15:03:30 +0000
(15:03 +0000)
committer
Magnus Hagander
<
[email protected]
>
Tue, 9 Oct 2007 15:03:30 +0000
(15:03 +0000)
Martin Pitt
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 87fdf447a221da4cdb97b45695dcc6a1af471203..e1ff662ea1b2595363b88daa885ecf6053bc6d77 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-3129,7
+3129,6
@@
PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
fprintf(stderr,
libpq_gettext("WARNING: password file \"%s\" is not a plain file\n"),
pgpassfile);
- free(pgpassfile);
return NULL;
}