stas 2004/09/27 14:40:03
Modified: t/response/TestAPI sub_request.pm Log: Apache::SubRequest::DESTROY must be called only once (it was called twice, once directly and once indirectly on the scope exit, causing bad segfaults later on down the road) Submitted by: Joe Schaefer <[EMAIL PROTECTED]> Revision Changes Path 1.2 +1 -1 modperl-2.0/t/response/TestAPI/sub_request.pm Index: sub_request.pm =================================================================== RCS file: /home/cvs/modperl-2.0/t/response/TestAPI/sub_request.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -u -r1.1 -r1.2 --- sub_request.pm 14 Aug 2004 05:10:12 -0000 1.1 +++ sub_request.pm 27 Sep 2004 21:40:03 -0000 1.2 @@ -34,7 +34,7 @@ # test an explictit DESTROY (which happens automatically on the # scope exit) - $subr->DESTROY; + undef $subr; ok 1; Apache::OK;