diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 764534a3ae0..6a963b5d6fc 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -764,6 +764,7 @@ exec_command(const char *cmd, /* we must set a non-NULL prefix to trigger storing */ pset.gset_prefix = pg_strdup(""); } + /* gset_prefix is freed later */ status = PSQL_CMD_SEND; }