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:
authorDalai Felinto <dfelinto@gmail.com>2010-05-29 12:49:48 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-05-29 12:49:48 +0400
commit3aaf77bd1c9c3112126246004fe63a378cc37b4d (patch)
treedc84415d0518397b51e47116faba2ca5781e9a25 /source/blender/editors/sound/sound_ops.c
parent5aa1d2bb259289f2915dbc34c6794a9f7457a8fe (diff)
Fix for Error Totblock for Sound_OT_open
Error Totblock: 1 OpenPropertyPointerRNA len: 32 0x11111111 I'm not quite sure this has to be done here, or when the actuator is removed (Matt, do we need the customdata pointer for anything later?). Doing it here seems to be fine so far.
Diffstat (limited to 'source/blender/editors/sound/sound_ops.c')
-rw-r--r--source/blender/editors/sound/sound_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c
index f7aff207f30..be4f6ff0570 100644
--- a/source/blender/editors/sound/sound_ops.c
+++ b/source/blender/editors/sound/sound_ops.c
@@ -118,6 +118,7 @@ static int open_exec(bContext *C, wmOperator *op)
RNA_property_update(C, &pprop->ptr, pprop->prop);
}
+ MEM_freeN(op->customdata);
return OPERATOR_FINISHED;
}