diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |