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:
authorMartin Poirier <theeth@yahoo.com>2010-01-04 23:18:13 +0300
committerMartin Poirier <theeth@yahoo.com>2010-01-04 23:18:13 +0300
commita325b8b3b9c68b0c554ce91211280c640b50e981 (patch)
tree379aae96d62bbca283d95a84c4a98cda25cd71fa /source/blender/windowmanager
parent29f90af19cb5e8284f95d25e3f9c9519c588c742 (diff)
bugfix: macro redo could crash because of not nulled freed pointer.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index ca53b0de795..6c0ed9b585e 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -193,6 +193,7 @@ static int wm_macro_end(wmOperator *op, int retval)
if (retval & (OPERATOR_FINISHED|OPERATOR_CANCELLED)) {
if (op->customdata) {
MEM_freeN(op->customdata);
+ op->customdata = NULL;
}
}