This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
windows: fix memory leak in %ENV handling (shows up as a
[perl5.git] / win32 / perllib.c
index 4aeb741..f38dfa1 100644 (file)
@@ -261,7 +261,7 @@ DllMain(HANDLE hModule,             /* DLL module handle */
             PerlIO_cleanup() was done here but fails (B).
          */     
        EndSockets();
-#if defined(USE_5005THREADS) || defined(USE_ITHREADS)
+#if defined(USE_ITHREADS)
        if (PL_curinterp)
            FREE_THREAD_KEY;
 #endif