mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 02:50:26 -08:00
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:
parent
154cd116be
commit
2eb834ead4
1 changed files with 1 additions and 0 deletions
|
|
@ -1644,6 +1644,7 @@ ns_free_frame_resources (struct frame *f)
|
||||||
[view release];
|
[view release];
|
||||||
|
|
||||||
xfree (f->output_data.ns);
|
xfree (f->output_data.ns);
|
||||||
|
f->output_data.ns = NULL;
|
||||||
|
|
||||||
unblock_input ();
|
unblock_input ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue