Bugfix.
File window uses new layout pointer, but doesnt set it to zero here, 
giving memory issues on 2.5 file reading.
This commit is contained in:
Ton Roosendaal
2009-04-06 15:07:01 +00:00
parent 51f6d6cbda
commit 6e91947cda

View File

@@ -4162,9 +4162,7 @@ static void lib_link_screen(FileData *fd, Main *main)
sfile->files= NULL;
sfile->params= NULL;
sfile->op= NULL;
/* sfile->returnfunc= NULL;
sfile->menup= NULL;
sfile->pupmenu= NULL; */ /* XXX removed */
sfile->layout= NULL;
}
else if(sl->spacetype==SPACE_IMASEL) {
SpaceImaSel *simasel= (SpaceImaSel *)sl;