Revision: 8810
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8810&view=rev
Author:   mdboom
Date:     2010-11-30 17:20:14 +0000 (Tue, 30 Nov 2010)

Log Message:
-----------
Fix memory leak in PyCXX.

Modified Paths:
--------------
    branches/v1_0_maint/CXX/Python2/ExtensionOldType.hxx

Modified: branches/v1_0_maint/CXX/Python2/ExtensionOldType.hxx
===================================================================
--- branches/v1_0_maint/CXX/Python2/ExtensionOldType.hxx        2010-11-22 
16:08:32 UTC (rev 8809)
+++ branches/v1_0_maint/CXX/Python2/ExtensionOldType.hxx        2010-11-30 
17:20:14 UTC (rev 8810)
@@ -173,7 +173,7 @@
             Tuple self( 2 );
 
             self[0] = Object( this );
-            self[1] = Object( PyCObject_FromVoidPtr( method_def, 
do_not_dealloc ) );
+            self[1] = Object( PyCObject_FromVoidPtr( method_def, 
do_not_dealloc ), true );
 
             PyObject *func = PyCFunction_New( &method_def->ext_meth_def, 
self.ptr() );
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to