diff options
| author | Vinzenz Feenstra | 2014-02-14 20:51:55 +0100 |
|---|---|---|
| committer | Vinzenz Feenstra | 2014-02-14 20:51:55 +0100 |
| commit | 96bc0c9f15862b09fd977533223b1b1403ec7e21 (patch) | |
| tree | ef28e948aab11c368d2d18bc6fe811e8eecf1aa1 /bin/tests/test_shader_lang.cpp | |
| parent | c12a8e922ff724d7fe9909c16f9a1b5aec7f010b (diff) | |
| download | godot-96bc0c9f15862b09fd977533223b1b1403ec7e21.tar.gz godot-96bc0c9f15862b09fd977533223b1b1403ec7e21.tar.zst godot-96bc0c9f15862b09fd977533223b1b1403ec7e21.zip | |
Diffstat (limited to 'bin/tests/test_shader_lang.cpp')
| -rw-r--r-- | bin/tests/test_shader_lang.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/tests/test_shader_lang.cpp b/bin/tests/test_shader_lang.cpp index fbd8be7fb..3ee32fe1a 100644 --- a/bin/tests/test_shader_lang.cpp +++ b/bin/tests/test_shader_lang.cpp @@ -288,8 +288,7 @@ MainLoop* test() { FileAccess *fa = FileAccess::open(test,FileAccess::READ); - if (!fa) { - memdelete(fa); + if (!fa) { ERR_FAIL_V(NULL); } |
