From 2eb834ead401fa83270cad585a4310e2e05b8baa Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Mon, 20 Jan 2020 17:27:43 +0100 Subject: [PATCH] Clear output data pointer on NS * src/nsterm.m (ns_free_frame_resources): Clear the output data pointer to prevent attempting to reuse freed resources (Bug#38748). --- src/nsterm.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nsterm.m b/src/nsterm.m index 03754e5ae53..c1d1d411176 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1644,6 +1644,7 @@ ns_free_frame_resources (struct frame *f) [view release]; xfree (f->output_data.ns); + f->output_data.ns = NULL; unblock_input (); } -- 2.39.2