diff options
| author | Valentin Gatien-Baron | 2017-07-10 00:08:52 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-07-10 00:15:29 +0200 |
| commit | 22af69906cca871fdb893e06d6f10dbbab4518e6 (patch) | |
| tree | 34be96408523c8e7d96398e285da8a0df71f0ed0 /src | |
| parent | bb2ea81bc569bdc51e1c9af1c503a22fb95e4384 (diff) | |
| download | emacs-22af69906cca871fdb893e06d6f10dbbab4518e6.tar.gz emacs-22af69906cca871fdb893e06d6f10dbbab4518e6.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs-module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 328 | set_hash_value_slot (h, i, value); | 328 | set_hash_value_slot (h, i, value); |
| 329 | } | 329 | } |
| 330 | else | 330 | else |
| 331 | hash_remove_from_table (h, value); | 331 | hash_remove_from_table (h, obj); |
| 332 | } | 332 | } |
| 333 | 333 | ||
| 334 | if (module_assertions) | 334 | if (module_assertions) |