From: Yuval Kogman Date: Tue, 12 Aug 2008 18:24:25 +0000 (+0000) Subject: ARGHGHGHGH!!! FUCKING UNREFERENCED GLOB/ X-Git-Tag: 0_64_01~35 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66af67fea5574721476430341bb26aacf7ac6d4f;p=gitmo%2FClass-MOP.git ARGHGHGHGH!!! FUCKING UNREFERENCED GLOB/ --- diff --git a/MOP.xs b/MOP.xs index 8506f36..bddb885 100644 --- a/MOP.xs +++ b/MOP.xs @@ -142,7 +142,7 @@ get_all_package_symbols(self, ...) SPAGAIN; EXTEND(SP, 2); PUSHs(key); - PUSHs(newRV_noinc(sv)); + PUSHs(sv_2mortal(newRV_inc(sv))); PUTBACK; } }