Skip to content

Commit 76fae39

Browse files
committed
if (settings->opt.fieldSep);
^ - deleted free(settings->opt.fieldSep);
1 parent 8c68e07 commit 76fae39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.37.2.1 1996/12/11 23:07:37 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.37.2.2 1996/12/14 08:19:40 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1092,7 +1092,7 @@ HandleSlashCmds(PsqlSettings * settings,
10921092
char *fs = DEFAULT_FIELD_SEP;
10931093
if (optarg)
10941094
fs = optarg;
1095-
if (settings->opt.fieldSep);
1095+
if (settings->opt.fieldSep)
10961096
free(settings->opt.fieldSep);
10971097
if (!(settings->opt.fieldSep = strdup(fs))) {
10981098
perror("malloc");

0 commit comments

Comments
 (0)