Problem: Memory leak with :breakadd expr.
Solution: Free debug_oldval and debug_newval before assigning to them.
It seems that :breakadd expr doesn't work as documented at all. This PR
only fixes the memory leak. The tests are for the existing behavior.
https://github.com/vim/vim/pull/18844
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks, the memory leak is my fault I guess. I remember some wonky behavior when implementing the expr part of it. Seems like it is not much used really.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()