Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-01-10 21:56:24 +0300
committerTon Roosendaal <ton@blender.org>2008-01-10 21:56:24 +0300
commit11ab3d75983113554adda873bef64f22fdfe81d9 (patch)
treed2e50ae4abbc3cb59b6adf24d58f8918a0de3e0f
parent42e2b4eddef62512030f8232d7dec3f0da0424f0 (diff)
Add more memory clearing on file read for WindowManager.
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index aa588f508e5..bc477daf6c4 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3510,6 +3510,8 @@ static void direct_link_windowmanager(FileData *fd, wmWindowManager *wm)
wm->windowkeymap.first= wm->windowkeymap.last= NULL;
wm->screenkeymap.first= wm->screenkeymap.last= NULL;
+ wm->queue.first= wm->queue.last= NULL;
+
wm->windrawable= NULL;
wm->initialized= 0;
}