diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 45234474a27..f33d93f83b4 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6899,7 +6899,8 @@ sweep_misc (void) | |||
| 6899 | else if (mblk->markers[i].m.u_any.type == Lisp_Misc_User_Ptr) | 6899 | else if (mblk->markers[i].m.u_any.type == Lisp_Misc_User_Ptr) |
| 6900 | { | 6900 | { |
| 6901 | struct Lisp_User_Ptr *uptr = &mblk->markers[i].m.u_user_ptr; | 6901 | struct Lisp_User_Ptr *uptr = &mblk->markers[i].m.u_user_ptr; |
| 6902 | uptr->finalizer (uptr->p); | 6902 | if (uptr->finalizer) |
| 6903 | uptr->finalizer (uptr->p); | ||
| 6903 | } | 6904 | } |
| 6904 | #endif | 6905 | #endif |
| 6905 | /* Set the type of the freed object to Lisp_Misc_Free. | 6906 | /* Set the type of the freed object to Lisp_Misc_Free. |