Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5e7aea

Browse files
committed
more memory fixes
svn path=/trunk/matplotlib/; revision=336
1 parent ca0c212 commit e5e7aea

3 files changed

Lines changed: 90 additions & 75 deletions

File tree

src/_transforms.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,10 @@ PolarXY::~PolarXY() {
483483

484484
Transformation::~Transformation() {
485485
if (DEBUG_MEM) std::cout << "bye bye Transformation" << std::endl;
486+
if (_transOffset!=NULL) {
487+
Py_DECREF(_transOffset);
488+
}
489+
486490
}
487491

488492
Py::Object

0 commit comments

Comments
 (0)