Bugfix 11736

CTRL+Click on "load" for image node crashed.
NULL pointer test missing...
This commit is contained in:
Ton Roosendaal 2008-05-18 07:30:51 +00:00
parent d3f7fba472
commit aba4f31086

@ -198,7 +198,7 @@ static int image_detect_file_sequence(int *start_p, int *frames_p, char *str)
unsigned short numlen;
sfile= scrarea_find_space_of_type(curarea, SPACE_FILE);
if(sfile==0)
if(sfile==NULL || sfile->filelist==NULL)
return 0;
/* find first frame */