forked from bartvdbraak/blender
Fix for [#26205] Crash when duplicating window
* Timeline duplication code freed the original time caches too.
This commit is contained in:
parent
5005853d40
commit
47d2353f26
@ -638,7 +638,7 @@ static SpaceLink *time_duplicate(SpaceLink *sl)
|
||||
SpaceTime *stime= (SpaceTime *)sl;
|
||||
SpaceTime *stimen= MEM_dupallocN(stime);
|
||||
|
||||
time_cache_free(stimen);
|
||||
stimen->caches.first = stimen->caches.last = NULL;
|
||||
|
||||
return (SpaceLink *)stimen;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user