Fix double-free on copied Text compiled py-code
This commit is contained in:
parent
84db9fdf4d
commit
920fa0f963
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue