pgsql: Fix memory leak in pg_hmac

2021-10-01 Thread Daniel Gustafsson
Fix memory leak in pg_hmac The intermittent h buffer was not freed, causing it to leak. Backpatch through 14 where HMAC was refactored to the current API. Author: Sergey Shinderuk Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch -

pgsql: Fix memory leak in pg_hmac

2021-10-01 Thread Daniel Gustafsson
Fix memory leak in pg_hmac The intermittent h buffer was not freed, causing it to leak. Backpatch through 14 where HMAC was refactored to the current API. Author: Sergey Shinderuk Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch -