summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index cd0f2bb11c..27e7241838 100644
--- a/perl.h
+++ b/perl.h
@@ -2063,6 +2063,9 @@ enum {
nice_chunk = (char*)(chunk); \
nice_chunk_size = (chunk_size); \
} \
+ else { \
+ Safefree(chunk); \
+ } \
UNLOCK_SV_MUTEX; \
} while (0)