aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index af083361770..fee8cc08aa4 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3157,8 +3157,7 @@ cleanup_vector (struct Lisp_Vector *vector)
3157 { 3157 {
3158 struct Lisp_Native_Comp_Unit *cu = 3158 struct Lisp_Native_Comp_Unit *cu =
3159 PSEUDOVEC_STRUCT (vector, Lisp_Native_Comp_Unit); 3159 PSEUDOVEC_STRUCT (vector, Lisp_Native_Comp_Unit);
3160 eassert (cu->handle); 3160 unload_comp_unit (cu);
3161 dynlib_close (cu->handle);
3162 } 3161 }
3163 else if (NATIVE_COMP_FLAG 3162 else if (NATIVE_COMP_FLAG
3164 && PSEUDOVECTOR_TYPEP (&vector->header, PVEC_SUBR)) 3163 && PSEUDOVECTOR_TYPEP (&vector->header, PVEC_SUBR))