1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

if (settings->opt.fieldSep);

^ - deleted
                free(settings->opt.fieldSep);
This commit is contained in:
Vadim B. Mikheev
1996-12-14 08:20:18 +00:00
parent 4556a50cf8
commit cbb131570e

View File

@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.38 1996/12/11 22:57:34 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.39 1996/12/14 08:20:18 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@@ -1092,7 +1092,7 @@ HandleSlashCmds(PsqlSettings * settings,
char *fs = DEFAULT_FIELD_SEP; char *fs = DEFAULT_FIELD_SEP;
if (optarg) if (optarg)
fs = optarg; fs = optarg;
if (settings->opt.fieldSep); if (settings->opt.fieldSep)
free(settings->opt.fieldSep); free(settings->opt.fieldSep);
if (!(settings->opt.fieldSep = strdup(fs))) { if (!(settings->opt.fieldSep = strdup(fs))) {
perror("malloc"); perror("malloc");