Thread: pgsql: plperl: Fix memory leak in hek2cstr

pgsql: plperl: Fix memory leak in hek2cstr

From
Alvaro Herrera
Date:
plperl: Fix memory leak in hek2cstr

Backpatch all the way back to 9.1, where it was introduced by commit
50d89d42.

Reported by Sergey Burladyan in #9223
Author: Alex Hunsaker

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/60829079d7eae9ba6a4e9e58807bbe1a70b12b84

Modified Files
--------------
src/pl/plperl/plperl.c |   20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)