I had actually patched that double free some time ago, but it was reverted in
commit 78bfd8978ea2af10dadc3fdadd19710068a632c4. Something about it causing a
memory leak if it caught an interrupt.
I wrote a patch which implemented a fix for it, but it wasn't accepted due to
being a bit inelegant (pl
Remove a double free() that caused joins to randomly segfault.
Fix a bug in delete() that occasionally caused lines to be
transposed.
---
ed.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ed.c b/ed.c
index e737d57..f6e195f 100644
--- a/ed.c
+++ b/ed.c
@@ -781,7 +781,7 @@ d