|
From: <and...@us...> - 2009-01-16 09:35:35
|
Revision: 9321
http://plplot.svn.sourceforge.net/plplot/?rev=9321&view=rev
Author: andrewross
Date: 2009-01-16 09:35:31 +0000 (Fri, 16 Jan 2009)
Log Message:
-----------
Fix incorrect variable name in python bindings. This would not stop
the bindings working, but may have resulted in memory not being freed.
Many thanks to Werner Smekal for spotting this.
Modified Paths:
--------------
trunk/bindings/python/plplotcmodule.i
Modified: trunk/bindings/python/plplotcmodule.i
===================================================================
--- trunk/bindings/python/plplotcmodule.i 2009-01-16 08:56:02 UTC (rev 9320)
+++ trunk/bindings/python/plplotcmodule.i 2009-01-16 09:35:31 UTC (rev 9321)
@@ -190,7 +190,7 @@
}
$1 = (PLINT*)tmp->data;
}
-%typemap(freearg) PLINT *ArrayCkMinus1 { Py_DECREF(tmp$argnum);}
+%typemap(freearg) PLINT *ArrayCkMinus1NULL { Py_DECREF(tmp$argnum);}
/* No length but remember size to check others */
%typemap(in) PLINT *Array (PyArrayObject* tmp) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|