From: Valentin Gatien-Baron Date: Sun, 9 Jul 2017 22:08:52 +0000 (+0200) Subject: Fix bug in module_free_global_ref (Bug#27587) X-Git-Tag: emacs-26.0.90~518^2~136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=22af69906cca871fdb893e06d6f10dbbab4518e6;p=emacs.git Fix bug in module_free_global_ref (Bug#27587) * src/emacs-module.c (module_free_global_ref): Actually remove entry from hash table. Copyright-paperwork-exempt: yes --- diff --git a/src/emacs-module.c b/src/emacs-module.c index c5e56b1344c..ba996982604 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -328,7 +328,7 @@ module_free_global_ref (emacs_env *env, emacs_value ref) set_hash_value_slot (h, i, value); } else - hash_remove_from_table (h, value); + hash_remove_from_table (h, obj); } if (module_assertions)