Don't leak doxygenTranslator in Python module.

Delete the pointer we allocate, just as in Java module.
This commit is contained in:
Vadim Zeitlin 2014-05-07 18:57:14 +02:00
commit c6ef433b9b

View file

@ -259,6 +259,11 @@ public:
director_multiple_inheritance = 1; director_multiple_inheritance = 1;
director_language = 1; director_language = 1;
} }
~PYTHON() {
delete doxygenTranslator;
}
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* Thread Implementation * Thread Implementation
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */