GNU bug report logs - #48666
Leaks are still possible in hook--depth-alist

Previous Next

Package: emacs;

Reported by: jakanakaevangeli <at> chiru.no

Date: Wed, 26 May 2021 08:53:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jakanakaevangeli <at> chiru.no
To: 48666 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#48666: Leaks are still possible in hook--depth-alist
Date: Wed, 26 May 2021 10:57:47 +0200
    (with-temp-buffer
      (add-hook 'post-command-hook (make-symbol "fun-sym") 77 t))
    (get 'post-command-hook 'hook--depth-alist)

Perhaps hook--depth-alist could be a hash table with weak keys.

Best regards.




This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.