Blender Git Commit Log

Git Commits -> Revision 3627541

Revision 3627541 by Mitchell Stokes (master)
August 10, 2013, 21:17 (GMT)
BGE: Fixing the memory leaks reported when the BlenderPlayer exits.

They were caused by not having a free_windowmanager_cb set and by not having registered SpaceTypes, which meant data allocated for thosse SpaceTypes could not be freed. These were solved by defining a free_windowmanager_cb for the player that just frees wmWindows, and by making sure we only allocate memory for registered SpaceTypes.

Commit Details:

Full Hash: 3627541894e2875b74d974abfe9ead60b68c4d05
SVN Revision: 59055
Parent Commit: 4c13688
Lines Changed: +47, -15

4 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+31, -15) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021