From c554a45738712219c066897b09a44d99afeb4240 Mon Sep 17 00:00:00 2001
From: Ailin Nemui <ailin@d5421s.localdomain>
Date: Sun, 26 Mar 2023 23:36:41 +0200
Subject: [PATCH] fix stale special collector use after free

reported by ednash and investigated by @dwfreed
---
 src/fe-text/textbuffer-formats.c | 1 -
 1 file changed, 1 deletion(-)

--- a/src/fe-text/textbuffer-formats.c
+++ b/src/fe-text/textbuffer-formats.c
@@ -213,7 +213,6 @@
 	if (!scrollback_format)
 		return;
 
-	special_push_collector(NULL);
 	info = store_lineinfo_tmp(dest);
 
 	info->format = format_rec_new(NULL, NULL, 2, (const char *[]){ NULL, text });
