check for bin == NULL
This commit is contained in:
parent
24762d0172
commit
edb4630564
3
sent.c
3
sent.c
@ -173,7 +173,8 @@ Image *ffopen(char *filename)
|
|||||||
REG_NOSUB | REG_EXTENDED | REG_ICASE))
|
REG_NOSUB | REG_EXTENDED | REG_ICASE))
|
||||||
continue;
|
continue;
|
||||||
if (!regexec(®ex, filename, 0, NULL, 0)) {
|
if (!regexec(®ex, filename, 0, NULL, 0)) {
|
||||||
bin = filters[i].bin;
|
if (!(bin = filters[i].bin))
|
||||||
|
return NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user