Fix memory leaks in px_crypt_shacrypt().
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/crypt-sha.c | modified | +8 −8 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |