• Sergey Vinokurov's avatar
    Fix detection of freed emacs_values (Bug#32479) · 54fb383a
    Sergey Vinokurov authored
    * src/emacs-module.c (module_free_global_ref): Compare a value to be
    freed with all entries of the list.
    
    * test/data/emacs-module/mod-test.c (Fmod_test_globref_free): New
    function.
    (emacs_module_init): Make it accessible from Lisp.
    * test/src/emacs-module-tests.el (mod-test-globref-free-test): New
    test which uses it.
    54fb383a
emacs-module-tests.el 9.42 KB