Skip to content

Commit 2eb834e

Browse files
pipcetrpluim
authored andcommitted
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).
1 parent 154cd11 commit 2eb834e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nsterm.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,6 +1644,7 @@ Hide the window (X11 semantics)
16441644
[view release];
16451645

16461646
xfree (f->output_data.ns);
1647+
f->output_data.ns = NULL;
16471648

16481649
unblock_input ();
16491650
}

0 commit comments

Comments
 (0)