Add a comment
gfx [Sat, 31 Oct 2009 06:42:41 +0000 (15:42 +0900)]
xs-src/MouseTypeConstraints.xs

index 41f70d7..43800a2 100644 (file)
@@ -404,7 +404,7 @@ mouse_generate_isa_predicate_for(pTHX_ SV* const klass, const char* const predic
 
     CvXSUBANY(xsub).any_ptr = sv_magicext(
         (SV*)xsub,
-        mg_obj,
+        mg_obj, /* refcnt will be increased */
         PERL_MAGIC_ext,
         &mouse_util_type_constraints_vtbl,
         mg_ptr,