Merge pull request #77 from vinzenz/shaderlang-test-crash-fix
Fixed crash bug in the shaderlang test
This commit is contained in:
commit
b0870e487c
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue