]> git.eshelyaron.com Git - emacs.git/commit
Re-add a useful assertion
authorPhilipp Stephani <phst@google.com>
Sun, 9 Jul 2017 22:28:50 +0000 (00:28 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 9 Jul 2017 22:28:50 +0000 (00:28 +0200)
commit81131ff26fe2a36c2ed0a4853d85af3bcb8bbdb1
treec0cb00c7bbccb943af6aa851e47e8d138e86faec
parent22af69906cca871fdb893e06d6f10dbbab4518e6
Re-add a useful assertion

* src/emacs-module.c (module_free_global_ref): Re-add assertion that
the reference count is zero.  This assertion was removed in commit
8afaa1321f8088bfb877fe4b6676e8517adb0bb7, but it's not included in the
test performed by XFASTINT before, because the previous reference
count could have been zero already in the case of a buggy
implementation.  This assertion might have detected Bug#27587.
src/emacs-module.c