diff options
author | flywind <xzsflywind@gmail.com> | 2021-03-29 11:21:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 20:21:27 -0700 |
commit | e5be216ccbf1e3453e0076f2f260ddda85a5f27a (patch) | |
tree | 28978b2b18e79fce2a91afbbc20ae6499deed3ba /lib/system | |
parent | a36816fc047d4ab2c4f80056c207f117a635a5d4 (diff) | |
download | Nim-e5be216ccbf1e3453e0076f2f260ddda85a5f27a.tar.gz |
[docs]close #12580 (#17549)
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/memalloc.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/memalloc.nim b/lib/system/memalloc.nim index fca1db91d..f8ebc8c5f 100644 --- a/lib/system/memalloc.nim +++ b/lib/system/memalloc.nim @@ -188,8 +188,8 @@ when hasAlloc and not defined(js): cast[ptr T](realloc(p, T.sizeof * newSize)) proc dealloc*(p: pointer) {.noconv, compilerproc, rtl, benign, raises: [], tags: [].} = - ## Frees the memory allocated with `alloc`, `alloc0` or - ## `realloc`. + ## Frees the memory allocated with `alloc`, `alloc0`, + ## `realloc`, `create` or `createU`. ## ## **This procedure is dangerous!** ## If one forgets to free the memory a leak occurs; if one tries to |