stas 2003/12/22 20:04:32
Modified: xs/Apache/RequestIO Apache__RequestIO.h
Log:
oops, no need to mortalize the returned SV as this is just a wrapper and the
authogenerated XSUB will handle that
Revision Changes Path
1.41 +1 -1 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h
Index: Apache__RequestIO.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -u -r1.40 -r1.41
--- Apache__RequestIO.h 23 Dec 2003 03:02:34 -0000 1.40
+++ Apache__RequestIO.h 23 Dec 2003 04:04:31 -0000 1.41
@@ -243,7 +243,7 @@
return &PL_sv_undef;
}
- return sv_2mortal(newSViv(total));
+ return newSViv(total);
}
static MP_INLINE