FAQ sync. (Ignoring the few URL differences for now.)
[p5sagit/p5-mst-13.2.git] / scope.c
diff --git a/scope.c b/scope.c
index 3303011..3262794 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -1,6 +1,6 @@
 /*    scope.c
  *
- *    Copyright (c) 1991-2001, Larry Wall
+ *    Copyright (c) 1991-2002, Larry Wall
  *
  *    You may distribute under the terms of either the GNU General Public
  *    License or the Artistic License, as specified in the README file.
@@ -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;