diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-12-21 09:58:44 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-12-21 09:58:44 +0300 |
commit | 48cda2e08e16986d2b5eff8e183ddfc126fe4085 (patch) | |
tree | eac8e8a5eb885e82ef0bb0a2ac8c433d283d5071 /source/gameengine/VideoTexture/PyTypeList.h | |
parent | 9d289c602d289e0dbe2af951dbefeb67c89434af (diff) |
Plugging up some memory leaks in the Blenderplayer that I found with valgrind
Diffstat (limited to 'source/gameengine/VideoTexture/PyTypeList.h')
-rw-r--r-- | source/gameengine/VideoTexture/PyTypeList.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/gameengine/VideoTexture/PyTypeList.h b/source/gameengine/VideoTexture/PyTypeList.h index 4daf88bfa19..8ca1e976de7 100644 --- a/source/gameengine/VideoTexture/PyTypeList.h +++ b/source/gameengine/VideoTexture/PyTypeList.h @@ -41,6 +41,9 @@ typedef std::vector<PyTypeListItem*> PyTypeListType; class PyTypeList { public: + /// destructor + ~PyTypeList(); + /// check, if type is in list bool in (PyTypeObject * type); |