p4raw-id: //depot/perl@16401
#endif /* MULTIPLICITY || PERL_OBJECT || PERL_CAPI */
+XS(XS_Storable_END); /* free perinterp_sv and kbuf */
+
/*
* KNOWN BUG:
* Croaking implies a memory leak, since we don't use setjmp/longjmp
int
is_retrieving()
+void
+END()
+PPCODE:
+{
+ dSTCXT;
+#if defined(MULTIPLICITY) || defined(PERL_OBJECT) || defined(PERL_CAPI)
+ Safefree(INT2PTR(stcxt_t*, perinterp_sv));
+ perinterp_sv = 0;
+#endif
+ Safefree(kbuf);
+ kbuf = 0;
+ ksiz = 0;
+}