summaryrefslogtreecommitdiff
path: root/objXSUB.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-31 17:18:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-31 17:18:23 +0000
commit067f92a0e46641b4b3e89afcde43bf134105f7b7 (patch)
tree2b8d43297149d3f9faf47ae720c422a88c5882e8 /objXSUB.h
parentb90103851cdee826fc444fcd0d6b862433ec2bab (diff)
downloadperl-067f92a0e46641b4b3e89afcde43bf134105f7b7.tar.gz
fix memory leak in C<eval 'return sub {...}'>
p4raw-id: //depot/perl@3511
Diffstat (limited to 'objXSUB.h')
-rw-r--r--objXSUB.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/objXSUB.h b/objXSUB.h
index 658e5ce226..d37a925037 100644
--- a/objXSUB.h
+++ b/objXSUB.h
@@ -1221,6 +1221,8 @@
#define form pPerl->Perl_form
#undef fprintf
#define fprintf pPerl->Perl_fprintf
+#undef free_closures
+#define free_closures pPerl->Perl_free_closures
#undef free_tmps
#define free_tmps pPerl->Perl_free_tmps
#undef gen_constant_list