diff options
Diffstat (limited to 'src/lib/util/corestr.cpp')
-rw-r--r-- | src/lib/util/corestr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/corestr.cpp b/src/lib/util/corestr.cpp index ed9c8e77b0a..4431f6d08ac 100644 --- a/src/lib/util/corestr.cpp +++ b/src/lib/util/corestr.cpp @@ -109,7 +109,7 @@ int core_strwildcmp(const char *sp1, const char *sp2) /*------------------------------------------------- - core_strdup - string duplication via osd_malloc + core_strdup - string duplication via malloc -------------------------------------------------*/ char *core_strdup(const char *str) @@ -117,7 +117,7 @@ char *core_strdup(const char *str) char *cpy = nullptr; if (str != nullptr) { - cpy = (char *)osd_malloc_array(strlen(str) + 1); + cpy = (char *)malloc(strlen(str) + 1); if (cpy != nullptr) strcpy(cpy, str); } |