Commit: 920fa0f963b8e3bd89e213ea849e09df002d2676
Author: Campbell Barton
Date:   Tue Apr 28 00:10:34 2015 +1000
Branches: master
https://developer.blender.org/rB920fa0f963b8e3bd89e213ea849e09df002d2676

Fix double-free on copied Text compiled py-code

===================================================================

M       source/blender/blenkernel/intern/text.c

===================================================================

diff --git a/source/blender/blenkernel/intern/text.c 
b/source/blender/blenkernel/intern/text.c
index 9f441b4..2c58873 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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to