summaryrefslogtreecommitdiff
path: root/core/os/dir_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/dir_access.h')
-rw-r--r--core/os/dir_access.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/os/dir_access.h b/core/os/dir_access.h
index 60eb553968..6c876cde5a 100644
--- a/core/os/dir_access.h
+++ b/core/os/dir_access.h
@@ -145,7 +145,8 @@ struct DirAccessRef {
DirAccess *f;
DirAccessRef(DirAccess *fa) { f = fa; }
~DirAccessRef() {
- if (f) memdelete(f);
+ if (f)
+ memdelete(f);
}
};