aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/misc.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-02-22 14:22:13 +0900
committerMichael Paquier <michael@paquier.xyz>2023-02-22 14:22:13 +0900
commit8bf5af2ee6ea82a79817692de94347086da96b43 (patch)
tree25052640a7da196a1142563f18867be1f390e574 /src/backend/utils/adt/misc.c
parent1a943d03d60e6a45036c77ca31d02ebd6e3ee169 (diff)
downloadpostgresql-8bf5af2ee6ea82a79817692de94347086da96b43.tar.gz
postgresql-8bf5af2ee6ea82a79817692de94347086da96b43.zip
Fix small memory leak in psql's \bind command
psql_scan_slash_option() returns a malloc()'d result through a PQExpBuffer, and exec_command_bind() was doing an extra allocation of this option for no effect. Introduced in 5b66de3. Author: Kyotaro Horiguchi Reviewed-by: Corey Huinker Discussion: https://postgr.es/m/20230221.115555.89096938631423206.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/utils/adt/misc.c')
0 files changed, 0 insertions, 0 deletions