Try to fix crashes introduced by 2012-09-10T21:01:45Z!jan.h.d@swipnet.se.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Sep 2012 09:11:50 +0000 (11:11 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Sep 2012 09:11:50 +0000 (11:11 +0200)
commitc077c0598d5c3c7982b53946a696ec7a75c7481e
tree2d2bf63d1c3feb7b6daa768590dbe6ec23190ead
parent71ce58e752dfb8d384eddf2d40ee9d5861ede5e5
Try to fix crashes introduced by 2012-09-10T21:01:45Z!jan.h.d@swipnet.se.

* nsfns.m (Fx_open_connection): Move initialization of ns_*_types
to ns_term_init to avoid memory leak.

* nsterm.m (ns_update_begin): Initialize bp after lcokFocus, use
explicit retain/release.
(ns_term_init): Only allow one display.  Initialize outerpool and
ns_*_types.
src/ChangeLog
src/nsfns.m
src/nsterm.m