Fixed crash bug in the shaderlang test
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
This commit is contained in:
parent
c12a8e922f
commit
96bc0c9f15
@ -289,7 +289,6 @@ MainLoop* test() {
|
|||||||
FileAccess *fa = FileAccess::open(test,FileAccess::READ);
|
FileAccess *fa = FileAccess::open(test,FileAccess::READ);
|
||||||
|
|
||||||
if (!fa) {
|
if (!fa) {
|
||||||
memdelete(fa);
|
|
||||||
ERR_FAIL_V(NULL);
|
ERR_FAIL_V(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user