We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf9a28 commit 65ff0edCopy full SHA for 65ff0ed
src/bin/psql/startup.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.99 2004/08/29 05:06:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.100 2004/09/13 23:07:12 neilc Exp $
7
*/
8
#include "postgres_fe.h"
9
@@ -590,6 +590,7 @@ process_psqlrc(char *argv0)
590
psqlrc = pg_malloc(strlen(home) + 1 + strlen(PSQLRC) + 1);
591
sprintf(psqlrc, "%s/%s", home, PSQLRC);
592
process_psqlrc_file(psqlrc);
593
+ free(psqlrc);
594
}
595
596
0 commit comments