From 7c765ea14785a4ad6efd2e30e03447f354bed6b4 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 11 Nov 2016 14:34:46 +0100 Subject: 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 --- src/osd/modules/file/posixfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osd/modules/file/posixfile.cpp') 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); -- cgit v1.2.3-70-g09d2