[Namazu-cvs 755] r216 - Search-Namazu/trunk

cvsd @ vaj.namazu.org cvsd @ vaj.namazu.org
2006年 3月 27日 (月) 13:06:58 JST


Author: knok
Date: 2006-03-27 13:06:58 +0900 (Mon, 27 Mar 2006)
New Revision: 216

Modified:
   Search-Namazu/trunk/Namazu.xs
Log:
Added reference counter incriment.


Modified: Search-Namazu/trunk/Namazu.xs
===================================================================
--- Search-Namazu/trunk/Namazu.xs	2006-03-27 02:35:30 UTC (rev 215)
+++ Search-Namazu/trunk/Namazu.xs	2006-03-27 04:06:58 UTC (rev 216)
@@ -90,6 +90,7 @@
 		PUSHs(sv_2mortal(newSVpv(result[4], strlen(result[4]))));
 		PUTBACK;
 		perl_call_method("set", G_DISCARD);
+		SvREFCNT_inc(ohlist);
 		av_push(retar, ohlist);
 		FREETMPS;
 		LEAVE;




Namazu-cvs メーリングリストの案内