aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 69fac83cd58..6c3f0aa69d6 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -953,6 +953,9 @@ exec_command(const char *cmd,
PQclear(res);
PQfreemem(encrypted_password);
}
+
+ if (opt0)
+ free(opt0);
}
free(pw1);