Fix dumping finalizers with pdumper
* src/pdumper.c (dump_finalizer): Use `out' (a pointer to a finalizer) rather than `&out' (a pointer to a pointer to a finalizer).
This commit is contained in:
parent
0e591a9112
commit
d76eb23232
1 changed files with 3 additions and 3 deletions
|
@ -2208,9 +2208,9 @@ dump_finalizer (struct dump_context *ctx,
|
|||
/* Do _not_ call dump_pseudovector_lisp_fields here: we dump the
|
||||
only Lisp field, finalizer->function, manually, so we can give it
|
||||
a low weight. */
|
||||
dump_field_lv (ctx, &out, finalizer, &finalizer->function, WEIGHT_NONE);
|
||||
dump_field_finalizer_ref (ctx, &out, finalizer, &finalizer->prev);
|
||||
dump_field_finalizer_ref (ctx, &out, finalizer, &finalizer->next);
|
||||
dump_field_lv (ctx, out, finalizer, &finalizer->function, WEIGHT_NONE);
|
||||
dump_field_finalizer_ref (ctx, out, finalizer, &finalizer->prev);
|
||||
dump_field_finalizer_ref (ctx, out, finalizer, &finalizer->next);
|
||||
return finish_dump_pvec (ctx, &out->header);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue