diff options
author | Matt Ebb <matt@mke3.net> | 2010-06-03 11:28:47 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-06-03 11:28:47 +0400 |
commit | 1b517c0926a3f3ab81bf2c1392229bc6b70fecd4 (patch) | |
tree | 4fb6664cb6755acbb47de9b4d5eabf7892f9754d /source/blender/editors/sound | |
parent | 21d112c36f661f3ce8648f4eadfe1325929e9184 (diff) |
Small memory management tweaks
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index be4f6ff0570..8f195b819ea 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -118,7 +118,7 @@ static int open_exec(bContext *C, wmOperator *op) RNA_property_update(C, &pprop->ptr, pprop->prop); } - MEM_freeN(op->customdata); + if(op->customdata) MEM_freeN(op->customdata); return OPERATOR_FINISHED; } |