From 88a116d3778982265bdccdd7196a8d76a45736f1 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 13 Jun 2020 08:04:09 +0200 Subject: [PATCH] * src/alloc.c (cleanup_vector): Fix --enable-check-lisp-object-type build. --- src/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alloc.c b/src/alloc.c index 750ffbd2dd8..514810b83fa 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -3161,7 +3161,7 @@ cleanup_vector (struct Lisp_Vector *vector) { struct Lisp_Subr *subr = PSEUDOVEC_STRUCT (vector, Lisp_Subr); - if (subr->native_comp_u[0]) + if (!NILP (subr->native_comp_u[0])) { xfree (subr->symbol_name); xfree (subr->native_c_name[0]); -- 2.39.5