Commit 50a93863 authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsterm.m (x_free_frame_resources): Move xfree so freed memory isn't

referenced.

Fixes: debbugs:11583
parent 84f4a531
2012-06-11 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (x_free_frame_resources): Move xfree so freed memory isn't
referenced (Bug#11583).
2012-06-01 Chong Yidong <cyd@gnu.org> 2012-06-01 Chong Yidong <cyd@gnu.org>
* Version 24.1 released. * Version 24.1 released.
......
...@@ -1158,14 +1158,14 @@ Free a pool and temporary objects it refers to (callable from C) ...@@ -1158,14 +1158,14 @@ Free a pool and temporary objects it refers to (callable from C)
hlinfo->mouse_face_mouse_frame = 0; hlinfo->mouse_face_mouse_frame = 0;
} }
xfree (f->output_data.ns);
if (f->output_data.ns->miniimage != nil) if (f->output_data.ns->miniimage != nil)
[f->output_data.ns->miniimage release]; [f->output_data.ns->miniimage release];
[[view window] close]; [[view window] close];
[view release]; [view release];
xfree (f->output_data.ns);
UNBLOCK_INPUT; UNBLOCK_INPUT;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment