Skip to content

Commit cbb1315

Browse files
committed
if (settings->opt.fieldSep);
^ - deleted free(settings->opt.fieldSep);
1 parent 4556a50 commit cbb1315

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.38 1996/12/11 22:57:34 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.39 1996/12/14 08:20:18 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)