projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2ea81
)
Fix bug in module_free_global_ref (Bug#27587)
author
Valentin Gatien-Baron
<vgatien-baron@janestreet.com>
Sun, 9 Jul 2017 22:08:52 +0000
(
00:08
+0200)
committer
Philipp Stephani
<phst@google.com>
Sun, 9 Jul 2017 22:15:29 +0000
(
00:15
+0200)
* src/emacs-module.c (module_free_global_ref): Actually remove entry
from hash table.
Copyright-paperwork-exempt: yes
src/emacs-module.c
patch
|
blob
|
history
diff --git
a/src/emacs-module.c
b/src/emacs-module.c
index c5e56b1344ccef6551a018c557fe515f9b321e54..ba996982604035b78e3a68d7f4c62f2013ec6337 100644
(file)
--- 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)