diff options
Diffstat (limited to 'src/change.c')
-rw-r--r-- | src/change.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c index 0873dd3d8..11f4b0a16 100644 --- a/src/change.c +++ b/src/change.c @@ -286,7 +286,7 @@ f_listener_add(typval_T *argvars, typval_T *rettv) return; } - lnr = (listener_T *)alloc_clear(sizeof(listener_T)); + lnr = ALLOC_CLEAR_ONE(listener_T); if (lnr == NULL) { free_callback(callback, partial); |