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).
This commit is contained in:
Pip Cet
2020-01-20 17:27:43 +01:00
committed by Robert Pluim
parent 154cd116be
commit 2eb834ead4

View File

@@ -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 ();
}