diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-27 17:10:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-27 18:18:50 +0300 |
commit | 920fa0f963b8e3bd89e213ea849e09df002d2676 (patch) | |
tree | 6684d794e8166ec8d66dad5d0c0ca3270f9138ba | |
parent | 84db9fdf4dd3bb5e1ddd6c2884787033386ac2ca (diff) |
Fix double-free on copied Text compiled py-code
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index 9f441b45db9..2c588739cad 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -473,6 +473,7 @@ Text *BKE_text_copy(Main *bmain, Text *ta) BLI_listbase_clear(&tan->lines); tan->curl = tan->sell = NULL; + tan->compiled = NULL; tan->nlines = ta->nlines; |