From 4e1b364a3e255742522d4d76c5ccddd7a36c1769 Mon Sep 17 00:00:00 2001 From: John Schmidt Date: Tue, 22 Apr 2014 11:35:11 +0200 Subject: Remove `alloc_clear` Use `xcalloc` instead. Inline `alloc_tv` and `alloc_string_tv` in eval.c --- src/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quickfix.c') diff --git a/src/quickfix.c b/src/quickfix.c index 75c80ed2b0..090fceb975 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -326,7 +326,7 @@ qf_init_ext ( /* * Allocate a new eformat structure and put it at the end of the list */ - fmt_ptr = (efm_T *)alloc_clear((unsigned)sizeof(efm_T)); + fmt_ptr = xcalloc(1, sizeof(efm_T)); if (fmt_first == NULL) /* first one */ fmt_first = fmt_ptr; else -- cgit