diff options
author | 2016-11-11 14:34:46 +0100 | |
---|---|---|
committer | 2016-11-11 16:12:01 +0100 | |
commit | 7c765ea14785a4ad6efd2e30e03447f354bed6b4 (patch) | |
tree | 8c1e3836d1c907378f61bb5748aac4219af68ce4 /src/osd/modules/file/posixfile.cpp | |
parent | 5c0edceec3a939ce7804b23beaeebfc700413489 (diff) |
No need for osd_malloc, osd_malloc_array and osd_free (nw)
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
Diffstat (limited to 'src/osd/modules/file/posixfile.cpp')
-rw-r--r-- | src/osd/modules/file/posixfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/file/posixfile.cpp b/src/osd/modules/file/posixfile.cpp index 5b90e43a57c..3cc122342dd 100644 --- a/src/osd/modules/file/posixfile.cpp +++ b/src/osd/modules/file/posixfile.cpp @@ -276,7 +276,7 @@ osd_file::error osd_file::open(std::string const &path, std::uint32_t openflags, } } - // if we still failed, clean up and osd_free + // if we still failed, clean up and free if (fd < 0) { return errno_to_file_error(errno); |