diff options
Diffstat (limited to 'src/memory.c')
-rw-r--r-- | src/memory.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/memory.c b/src/memory.c index 4411c1526f..dff7e41bad 100644 --- a/src/memory.c +++ b/src/memory.c @@ -53,14 +53,6 @@ char_u *alloc(unsigned size) return lalloc((long_u)size, TRUE); } -/* - * Allocate memory and set all bytes to zero. - */ -char_u *alloc_clear(unsigned size) -{ - return (char_u *)xcalloc(1, (size_t)size); -} - /// Try to free memory. Used when trying to recover from out of memory errors. /// @see {xmalloc} static void try_to_free_memory() |