From 48cda2e08e16986d2b5eff8e183ddfc126fe4085 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 21 Dec 2010 06:58:44 +0000 Subject: Plugging up some memory leaks in the Blenderplayer that I found with valgrind --- source/gameengine/VideoTexture/PyTypeList.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/gameengine/VideoTexture/PyTypeList.h') 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 PyTypeListType; class PyTypeList { public: + /// destructor + ~PyTypeList(); + /// check, if type is in list bool in (PyTypeObject * type); -- cgit v1.2.3