summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-02 14:01:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-02 14:01:35 +0000
commit9ecbcc42a0773c843dba20b5bbe347b7c4342c9a (patch)
tree840c709c9724b4924a407feddef5bfb733b36914 /scope.c
parent39cf9a5e91e08111bcde2ef6e58d7c3cc589ade2 (diff)
downloadperl-9ecbcc42a0773c843dba20b5bbe347b7c4342c9a.tar.gz
NetWare tweaks from C Aditya.
p4raw-id: //depot/perl@15678
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index d0646bc248..3262794dd2 100644
--- a/scope.c
+++ b/scope.c
@@ -673,7 +673,11 @@ Perl_leave_scope(pTHX_ I32 base)
str = (char*)SSPOPPTR;
ptr = SSPOPPTR;
if (*(char**)ptr != str) {
+ #ifdef NETWARE
+ PerlMem_free(*(char**)ptr);
+ #else
PerlMemShared_free(*(char**)ptr);
+ #endif
*(char**)ptr = str;
}
break;