aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-02-27 14:05:51 +0900
committerMichael Paquier <michael@paquier.xyz>2025-02-27 14:05:51 +0900
commit48e4ae9a0707b22cf874a4e8e531a07077318424 (patch)
tree745382802d73c9fbf06f7b0649ed107387b68466 /src/backend/access/gist/gist.c
parent8709dccc793da0c0c6619cafa182c8e67a871154 (diff)
downloadpostgresql-48e4ae9a0707b22cf874a4e8e531a07077318424.tar.gz
postgresql-48e4ae9a0707b22cf874a4e8e531a07077318424.zip
pg_amcheck: Fix inconsistency in memory freeing
The function in charge of freeing the memory from a result created by PQescapeIdentifier() has to be PQfreemem(), to ensure that both allocation and free come from libpq, but one spot in pg_amcheck was missing that. Oversight in b859d94c6389. Author: Ranier Vilela <ranier.vf@gmail.com> Reviewed-by: vignesh C <vignesh21@gmail.com> Discussion: https://postgr.es/m/CAEudQArD_nKSnYCNUZiPPsJ2tNXgRmLbXGSOrH1vpOF_XtP0Vg@mail.gmail.com Discussion: https://postgr.es/m/CAEudQArbTWVSbxq608GRmXJjnNSQ0B6R7CSffNnj2hPWMUsRNg@mail.gmail.com Backpatch-through: 14
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions