aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-04-06 11:57:22 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-04-06 11:57:22 -0400
commit8ab6ef2bb8d9a00d205742932eb0b6daf62b34e0 (patch)
tree3e422de931e6fdd4e2c94cd81f92b5ae48cc130c /src/tools
parent2e4ccf1b4508cc337bb4d0afff1e32a049d549fc (diff)
downloadpostgresql-8ab6ef2bb8d9a00d205742932eb0b6daf62b34e0.tar.gz
postgresql-8ab6ef2bb8d9a00d205742932eb0b6daf62b34e0.zip
Fix memory leaks in px_crypt_shacrypt().
Per Coverity. I don't think these are of any actual significance since the function ought to be invoked in a short-lived context. Still, if it's trying to be neat it should get it right. Also const-ify a constant and fix up typedef formatting.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pgindent/typedefs.list1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index 1a30437ad96..d42b943ef94 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -1825,6 +1825,7 @@ PGAlignedBlock
PGAlignedXLogBlock
PGAsyncStatusType
PGCALL2
+PGCRYPTO_SHA_t
PGChecksummablePage
PGContextVisibility
PGErrorVerbosity