summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-20 10:20:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-20 10:20:18 +0000
commit6cb8cb214e85c7d67c2acca4f12551f90bf4908e (patch)
tree28b67c2d45d05411610e8e4a6d6322fdc3d88379 /unixish.h
parent4978b1831a24ff36fc8bea075526005cdf40e132 (diff)
downloadperl-6cb8cb214e85c7d67c2acca4f12551f90bf4908e.tar.gz
More leak fixes, by Jarkko
p4raw-id: //depot/perl@29060
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/unixish.h b/unixish.h
index 631a619a1d..a08e8ba051 100644
--- a/unixish.h
+++ b/unixish.h
@@ -131,7 +131,11 @@
#endif
#ifndef PERL_SYS_TERM
-#define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; MALLOC_TERM
+# ifdef USE_PERLIO
+# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM
+# else
+# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; MALLOC_TERM
+# endif
#endif
#define BIT_BUCKET "/dev/null"