Menu

Commit [r336]  Maximize  Restore  History

more memory fixes

jdh2358 2004-06-09

changed /trunk/matplotlib/src/_transforms.cpp
changed /trunk/matplotlib/src/ft2font.cpp
changed /trunk/matplotlib/src/ft2font.h
/trunk/matplotlib/src/_transforms.cpp Diff Switch to side-by-side view
--- a/trunk/matplotlib/src/_transforms.cpp
+++ b/trunk/matplotlib/src/_transforms.cpp
@@ -483,6 +483,10 @@
 
 Transformation::~Transformation() {
   if (DEBUG_MEM) std::cout << "bye bye Transformation" << std::endl;
+  if (_transOffset!=NULL) {
+    Py_DECREF(_transOffset);
+  }
+
 }
 
 Py::Object
/trunk/matplotlib/src/ft2font.cpp Diff Switch to side-by-side view
Loading...
/trunk/matplotlib/src/ft2font.h Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.