projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535b078
)
Don't try to free pgpassfile since it's a stack variable.
author
Magnus Hagander
<magnus@hagander.net>
Tue, 9 Oct 2007 15:03:27 +0000
(15:03 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 9 Oct 2007 15:03:27 +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 6747f228172e17e813115e286bcba4877329eb25..5318cbaccf0329e6f7da49811122452c016295cf 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.35
1 2007/07/23 17:52:06
mha Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.35
2 2007/10/09 15:03:27
mha Exp $
*
*-------------------------------------------------------------------------
*/
@@
-3723,7
+3723,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;
}