From a0d8947acb8b4300cc771b0d5a2f53e4e5148a40 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 15 Feb 2014 00:09:24 -0500 Subject: [PATCH] psql: Add C comment about gset_prefix being freed later --- src/bin/psql/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 764534a3ae..6a963b5d6f 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; }