Plugging up some memory leaks in the Blenderplayer that I found with valgrind

This commit is contained in:
Mitchell Stokes
2010-12-21 06:58:44 +00:00
parent 9d289c602d
commit 48cda2e08e
4 changed files with 17 additions and 2 deletions

View File

@@ -943,7 +943,12 @@ int main(int argc, char** argv)
}
}
free_nodesystem();
// Cleanup
RNA_exit();
BLF_exit();
free_blender();
SYS_DeleteSystem(syshandle);
return error ? -1 : 0;
}