changed | /trunk/matplotlib/src/_transforms.cpp |
changed | /trunk/matplotlib/src/ft2font.cpp |
changed | /trunk/matplotlib/src/ft2font.h |
--- 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