summary refs log tree commit diff stats
path: root/lib/system/mm
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-08-01 21:18:08 +0800
committerGitHub <noreply@github.com>2023-08-01 15:18:08 +0200
commita23e53b4902d227353886d97ef50609709519dd9 (patch)
tree56f6a68016d67c1496dbf3ec535f6886470f3468 /lib/system/mm
parent35ff70f36c0025018de3a8c5c993249d11b98292 (diff)
downloadNim-a23e53b4902d227353886d97ef50609709519dd9.tar.gz
fixes #22262; fixes `-d:useMalloc` broken with `--mm:none` and `--threads on` (#22355)
* fixes #22262; -d:useMalloc broken with --mm:none and threads on

* fixes
Diffstat (limited to 'lib/system/mm')
-rw-r--r--lib/system/mm/malloc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/mm/malloc.nim b/lib/system/mm/malloc.nim
index b24b6f1e0..47f1a95ae 100644
--- a/lib/system/mm/malloc.nim
+++ b/lib/system/mm/malloc.nim
@@ -88,7 +88,7 @@ type
 
 proc alloc(r: var MemRegion, size: int): pointer =
   result = alloc(size)
-proc alloc0Impl(r: var MemRegion, size: int): pointer =
+proc alloc0(r: var MemRegion, size: int): pointer =
   result = alloc0Impl(size)
 proc dealloc(r: var MemRegion, p: pointer) = dealloc(p)
 proc deallocOsPages(r: var MemRegion) = discard