httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r154817 - httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h
Date Tue, 22 Feb 2005 07:36:31 GMT
Author: joes
Date: Mon Feb 21 23:36:28 2005
New Revision: 154817

URL: http://svn.apache.org/viewcvs?view=rev&rev=154817
Log:

Need newRV_inc here. This change takes care of the
"Attempt to free unreferenced scalar" logfile errors 
coming from the apreq/cookie tests.

Modified:
    httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h

Modified: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h?view=diff&r1=154816&r2=154817
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h (original)
+++ httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_postperl.h Mon Feb
21 23:36:28 2005
@@ -167,7 +167,7 @@
         && (obj = mg->mg_obj) != NULL
         && SvOBJECT(obj))
     {
-        sv = sv_2mortal(newRV_noinc(obj));
+        sv = sv_2mortal(newRV_inc(obj));
         if (sv_derived_from(sv, class))
             return obj;
     }



Mime
View raw message