Commit cbb13157 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

if (settings->opt.fieldSep);

                                      ^ - deleted
                free(settings->opt.fieldSep);
parent 4556a50c
...@@ -7,7 +7,7 @@ ...@@ -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, ...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment