plperl: Fix memory leak in hek2cstr

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 60829079d7eae9ba6a4e9e58807bbe1a70b12b84
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2014-03-17T02:22:22Z
Releases: 9.3.4
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

Files

PathChange+/−
src/pl/plperl/plperl.c modified +18 −2