This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Embed manifest files in EXEs and DLLs when building with VC++ 8.x
[perl5.git] / win32 / vmem.h
index 3cb10a3..25f2376 100644 (file)
@@ -207,7 +207,8 @@ void VMem::Free(void* pMem)
                dTHX;
                int *nowhere = NULL;
                Perl_warn(aTHX_ "Free to wrong pool %p not %p",this,ptr->owner);
-               *nowhere = 0;
+               *nowhere = 0; /* this segfault is deliberate, 
+                                so you can see the stack trace */
 #else
                 ptr->owner->Free(pMem);        
 #endif