summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/split.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-11 14:34:46 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-11 16:12:01 +0100
commit7c765ea14785a4ad6efd2e30e03447f354bed6b4 (patch)
tree8c1e3836d1c907378f61bb5748aac4219af68ce4 /src/tools/split.cpp
parent5c0edceec3a939ce7804b23beaeebfc700413489 (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/tools/split.cpp')
-rw-r--r--src/tools/split.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/split.cpp b/src/tools/split.cpp
index 886b95d2aa2..4ef18b6ad06 100644
--- a/src/tools/split.cpp
+++ b/src/tools/split.cpp
@@ -343,7 +343,7 @@ static int join_file(const char *filename, const char *outname, int write_output
printf(" verified\n");
// release allocated memory
- osd_free(splitbuffer);
+ free(splitbuffer);
splitbuffer = nullptr;
}
if (write_output)
@@ -366,7 +366,7 @@ cleanup:
remove(outfilename.c_str());
}
if (splitbuffer != nullptr)
- osd_free(splitbuffer);
+ free(splitbuffer);
return error;
}