1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Don't delete FileAccess when it is null

This commit is contained in:
Marc Gilleron
2018-10-05 20:24:28 +01:00
parent f5a77f7bdd
commit c1bba054e6
3 changed files with 0 additions and 3 deletions

View File

@@ -118,7 +118,6 @@ RES ResourceFormatLoaderImage::load(const String &p_path, const String &p_origin
if (r_error) {
*r_error = ERR_CANT_OPEN;
}
memdelete(f);
return RES();
}