emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 22af699: Fix bug in module_free_global_ref (Bug#275


From: Philipp Stephani
Subject: [Emacs-diffs] master 22af699: Fix bug in module_free_global_ref (Bug#27587)
Date: Sun, 9 Jul 2017 18:16:00 -0400 (EDT)

branch: master
commit 22af69906cca871fdb893e06d6f10dbbab4518e6
Author: Valentin Gatien-Baron <address@hidden>
Commit: Philipp Stephani <address@hidden>

    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
---
 src/emacs-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/emacs-module.c b/src/emacs-module.c
index c5e56b1..ba99698 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]