You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2004/05/20 18:38:30 UTC
svn commit: rev 20159 - xml/xerces-p/trunk/Handler
Author: jasons
Date: Thu May 20 09:38:29 2004
New Revision: 20159
Modified:
xml/xerces-p/trunk/Handler/PerlCallbackHandler.cpp
Log:
don't try handling refcounting ourselves, let set_callback_obj() do it for us
Modified: xml/xerces-p/trunk/Handler/PerlCallbackHandler.cpp
==============================================================================
--- xml/xerces-p/trunk/Handler/PerlCallbackHandler.cpp (original)
+++ xml/xerces-p/trunk/Handler/PerlCallbackHandler.cpp Thu May 20 09:38:29 2004
@@ -15,8 +15,7 @@
}
PerlCallbackHandler::PerlCallbackHandler(SV* object) {
- SvREFCNT_inc(object);
- callbackObj = object;
+ set_callback_obj(object);
}
PerlCallbackHandler::PerlCallbackHandler(PerlCallbackHandler* handler) {
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org