From: Pip Cet Date: Mon, 20 Jan 2020 16:27:43 +0000 (+0100) Subject: Clear output data pointer on NS X-Git-Tag: emacs-27.0.90~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2eb834ead401fa83270cad585a4310e2e05b8baa;p=emacs.git 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). --- 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 (); }