pgsql: Fix memory leak in pg_hmac

Started by Daniel Gustafssonalmost 5 years ago1 messagescomitters
Jump to latest
#1Daniel Gustafsson
daniel@yesql.se

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 <s.shinderuk@postgrespro.ru>
Discussion: /messages/by-id/af07e620-7e28-a742-4637-2bc44aa7c2be@postgrespro.ru
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ded7039fab314afb7cbaf36b52209f253c05539

Modified Files
--------------
src/common/hmac.c | 5 +++++
1 file changed, 5 insertions(+)