1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Tom Lane
2025-04-06 11:57:22 -04:00
parent 2e4ccf1b45
commit 8ab6ef2bb8
2 changed files with 9 additions and 8 deletions

View File

@ -1825,6 +1825,7 @@ PGAlignedBlock
PGAlignedXLogBlock
PGAsyncStatusType
PGCALL2
PGCRYPTO_SHA_t
PGChecksummablePage
PGContextVisibility
PGErrorVerbosity