[Mobies-commit] [commit] r4137 - UDM/trunk/src/UdmPython

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Tue Oct 16 17:22:39 CDT 2012


Author: ksmyth
Date: Tue Oct 16 17:22:39 2012
New Revision: 4137

Log:
Fix lifetime management

Modified:
   UDM/trunk/src/UdmPython/UdmPython.cpp

Modified: UDM/trunk/src/UdmPython/UdmPython.cpp
==============================================================================
--- UDM/trunk/src/UdmPython/UdmPython.cpp	Fri Oct 12 12:35:30 2012	(r4136)
+++ UDM/trunk/src/UdmPython/UdmPython.cpp	Tue Oct 16 17:22:39 2012	(r4137)
@@ -77,8 +77,8 @@
 	return new Udm::SmartDataNetwork(*udmdiag);
 }
 
-object SDN_NewHelper_ = make_function(SDN_NewHelper,	with_custodian_and_ward_postcall<1, 0,
-														with_custodian_and_ward_postcall<2, 0,
+object SDN_NewHelper_ = make_function(SDN_NewHelper,	with_custodian_and_ward_postcall<0, 1,
+														with_custodian_and_ward_postcall<0, 2,
 														return_value_policy<manage_new_object> > >());
 
 static void dummy(void) {}


More information about the Mobies-commit mailing list