summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doop.c b/doop.c
index 6db986b86b..3e62c8cf3b 100644
--- a/doop.c
+++ b/doop.c
@@ -523,6 +523,7 @@ S_do_trans_invmap(pTHX_ SV * const sv, AV * const invmap)
s += s_len;
if (! inplace) {
sv_setpvn(sv, (char*)d0, d - d0);
+ Safefree(d0);
}
else {
*d = '\0';