Fix for [#28672] Blender segfault after exiting a game that was opened with autoplay on (Blender, not blenderplayer)

Autoplay misses uninitialisation, I'm just fixing the reported crash, it still misses all other frees, but as the program exits, we don't care?
This commit is contained in:
Joerg Mueller 2011-09-18 09:46:47 +00:00
parent fa3082bace
commit 7da6e0c82e
1 changed files with 2 additions and 0 deletions

View File

@ -296,6 +296,8 @@ int WM_init_game(bContext *C)
WM_operator_name_call(C, "VIEW3D_OT_game_start", WM_OP_EXEC_DEFAULT, NULL);
sound_exit();
return 1;
}
else