提交 cbb13157 编写于 作者: V Vadim B. Mikheev

if (settings->opt.fieldSep);

                                      ^ - deleted
                free(settings->opt.fieldSep);
上级 4556a50c
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册