]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/alloc.c (cleanup_vector): Fix --enable-check-lisp-object-type build.
authorAndrea Corallo <akrl@sdf.org>
Sat, 13 Jun 2020 06:04:09 +0000 (08:04 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sat, 13 Jun 2020 06:05:48 +0000 (08:05 +0200)
src/alloc.c

index 750ffbd2dd8251146d4716e437ab7dc96cdda645..514810b83fad509a2add3dfe9f33b7be3b038ba5 100644 (file)
@@ -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]);