evil-multiedit icon indicating copy to clipboard operation
evil-multiedit copied to clipboard

"match-symbol-and-prev" causes a memory leak.

Open M1ndo opened this issue 1 year ago • 0 comments

What did you expect to happen?

Trying to do a match symbol and select for a second time should do a match and selection.

What actually happened?

Instead it freezes emacs and causes a memory leak. emacs emacs2

https://user-images.githubusercontent.com/44820142/226017611-dc995c1a-a026-4662-9c1a-97d567bfe757.mp4

Describe your attempts to resolve the issue

I have not yet analyzed the code, or made any attempts to fix the bug.

Steps to reproduce

  1. Open any file with multiple duplicate words
  2. Head to the last and do 'evil-multiedit-match-symbol-and-prev'
  3. Do it for a SECOND time.
  4. Watch as emacs freezes and causes a memory leak

Package commit

23b53bc8743fb82a8854ba907b1d277374c93a79

System Information

Arch Linux, Linux Xanmod And Compiled Emacs 30 With Native-Comp

M1ndo avatar Mar 17 '23 19:03 M1ndo