mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Fix an assertion
* src/lisp.h (safe_free): Don't assert only xfree can be used.
This commit is contained in:
parent
3aa8573ea6
commit
e4ed2cbea1
1 changed files with 5 additions and 0 deletions
|
|
@ -6185,7 +6185,12 @@ safe_free (specpdl_ref sa_count)
|
|||
specpdl_ptr--;
|
||||
if (specpdl_ptr->kind == SPECPDL_UNWIND_PTR)
|
||||
{
|
||||
#ifdef HAVE_MPS
|
||||
eassert (specpdl_ptr->unwind_ptr.func == xfree
|
||||
|| specpdl_ptr->unwind_ptr.func == igc_xfree);
|
||||
#else
|
||||
eassert (specpdl_ptr->unwind_ptr.func == xfree);
|
||||
#endif
|
||||
xfree (specpdl_ptr->unwind_ptr.arg);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue