diff options
Diffstat (limited to 'usr.bin/vi/common/key.c')
-rw-r--r-- | usr.bin/vi/common/key.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/vi/common/key.c b/usr.bin/vi/common/key.c index 08369cf400c..e3a85e2e7f7 100644 --- a/usr.bin/vi/common/key.c +++ b/usr.bin/vi/common/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.18 2016/05/27 09:18:11 martijn Exp $ */ +/* $OpenBSD: key.c,v 1.19 2017/04/18 01:45:35 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -770,8 +770,7 @@ v_event_err(SCR *sp, EVENT *evp) } /* Free any allocated memory. */ - if (evp->e_asp != NULL) - free(evp->e_asp); + free(evp->e_asp); } /* |