diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-01-04 23:18:13 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-01-04 23:18:13 +0300 |
commit | a325b8b3b9c68b0c554ce91211280c640b50e981 (patch) | |
tree | 379aae96d62bbca283d95a84c4a98cda25cd71fa /source/blender/windowmanager | |
parent | 29f90af19cb5e8284f95d25e3f9c9519c588c742 (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.c | 1 |
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; } } |