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:
authorJoseph Eagar <joeedh@gmail.com>2009-09-14 09:00:03 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-09-14 09:00:03 +0400
commita11ef8030aecfe80e4718b6000ea32d2bbc062a9 (patch)
treec2331d7373adaff7bc4416198fc1d6b329d081d5 /source/blender/windowmanager/intern/wm.c
parent9f5e42ff7622b5b2dd0ef711769ecc541126efb5 (diff)
2.5 mesh cleanup: merge tools all work again
Diffstat (limited to 'source/blender/windowmanager/intern/wm.c')
-rw-r--r--source/blender/windowmanager/intern/wm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c
index 38cf39c2081..651394d51af 100644
--- a/source/blender/windowmanager/intern/wm.c
+++ b/source/blender/windowmanager/intern/wm.c
@@ -75,9 +75,11 @@ void WM_operator_free(wmOperator *op)
}
if(op->macro.first) {
- wmOperator *opm;
- for(opm= op->macro.first; opm; opm= opm->next)
+ wmOperator *opm, *opmnext;
+ for(opm= op->macro.first; opm; opm= opmnext) {
+ opmnext = opm->next;
WM_operator_free(opm);
+ }
}
MEM_freeN(op);