fix wrong pool error in cygwin build
Yitzchak Scott-Thoennes [Sun, 27 Nov 2005 09:29:00 +0000 (09:29 +0000)]
Message-ID: <20051127082918.GA2556@efn.org>

p4raw-id: //depot/perl@26215

cygwin/cygwin.c

index 03f48dd..68a6fcd 100644 (file)
@@ -147,7 +147,7 @@ XS(Cygwin_cwd)
        Perl_croak(aTHX_ "Usage: Cwd::cwd()");
     if((cwd = getcwd(NULL, -1))) {
        ST(0) = sv_2mortal(newSVpv(cwd, 0));
-       safesysfree(cwd);
+       free(cwd);
 #ifndef INCOMPLETE_TAINTS
        SvTAINTED_on(ST(0));
 #endif