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 5a5a22aa1e..16e98dae2d 100644 --- a/src/memory.c +++ b/src/memory.c @@ -72,14 +72,6 @@ char_u *alloc_clear(unsigned size) return (char_u *)xcalloc(1, (size_t)size); } -/* - * Allocate memory like lalloc() and set all bytes to zero. - */ -char_u *lalloc_clear(long_u size, int message) -{ - 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() |