if (settings->opt.fieldSep);
^ - deleted free(settings->opt.fieldSep);
This commit is contained in:
parent
4556a50cf8
commit
cbb131570e
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* 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;
|
||||
if (optarg)
|
||||
fs = optarg;
|
||||
if (settings->opt.fieldSep);
|
||||
if (settings->opt.fieldSep)
|
||||
free(settings->opt.fieldSep);
|
||||
if (!(settings->opt.fieldSep = strdup(fs))) {
|
||||
perror("malloc");
|
||||
|
Loading…
Reference in New Issue
Block a user