We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef7ba2 commit ddd50a0Copy full SHA for ddd50a0
src/bin/psql/command.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright 2000-2002 by PostgreSQL Global Development Group
5
6
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.92 2003/03/18 22:15:43 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.93 2003/03/19 22:49:43 momjian Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "command.h"
@@ -882,6 +882,8 @@ exec_command(const char *cmd,
882
{
883
if (status != CMD_UNKNOWN)
884
psql_error("\\%s: extra argument '%s' ignored\n", cmd, val);
885
+ if (val)
886
+ free(val);
887
}
888
889
if (options_string && continue_parse)
0 commit comments