diff options
| author | Jan Djärv | 2011-12-21 09:04:19 +0100 |
|---|---|---|
| committer | Jan Djärv | 2011-12-21 09:04:19 +0100 |
| commit | 204ee57fa0bb286ba4c6f540cefb44ed011a921f (patch) | |
| tree | ad3751bd5677a04fb731108cdeaaf74ca55d05bb /src/ChangeLog | |
| parent | bc86f573eecb9067dfb73c612309a909332bb15d (diff) | |
| download | emacs-204ee57fa0bb286ba4c6f540cefb44ed011a921f.tar.gz emacs-204ee57fa0bb286ba4c6f540cefb44ed011a921f.zip | |
Fix biggest memory leaks in NS-port. More remain.
* emacs.c (ns_pool): New variable.
(main): Assign ns_pool.
(Fkill_emacs): Call ns_release_autorelease_pool.
* nsfns.m (x_set_background_color): Assign return value from
ns_index_color to face-background instead of NSColor*.
(ns_implicitly_set_icon_type): Fix indentation.
Change assignment in for loop to comparison.
* nsfont.m (ns_spec_to_descriptor): Fix indentation,
autorelease fdesc, release fdAttrs and tdict.
(ns_get_covering_families): Release charset.
(ns_findfonts): Release NSFontDescriptor created with new.
(ns_uni_to_glyphs): Fix indentation.
(setString): Release attrStr before assigning new value.
* nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
before returning.
* nsterm.m (x_free_frame_resources): Release
f->output_data.ns->miniimage
(ns_index_color): Fix indentation. Do not retain
color_table->colors[i].
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 673d6fb9d97..e40a7f3fbe0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,29 @@ | |||
| 1 | 2011-12-21 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * nsterm.m (x_free_frame_resources): Release | ||
| 4 | f->output_data.ns->miniimage | ||
| 5 | (ns_index_color): Fix indentation. Do not retain | ||
| 6 | color_table->colors[i]. | ||
| 7 | |||
| 8 | * nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree | ||
| 9 | before returning. | ||
| 10 | |||
| 11 | * nsfns.m (x_set_background_color): Assign return value from | ||
| 12 | ns_index_color to face-background instead of NSColor*. | ||
| 13 | (ns_implicitly_set_icon_type): Fix indentation. | ||
| 14 | Change assignment in for loop to comparison. | ||
| 15 | |||
| 16 | * emacs.c (ns_pool): New variable. | ||
| 17 | (main): Assign ns_pool. | ||
| 18 | (Fkill_emacs): Call ns_release_autorelease_pool. | ||
| 19 | |||
| 20 | * nsfont.m (ns_spec_to_descriptor): Fix indentation, | ||
| 21 | autorelease fdesc, release fdAttrs and tdict. | ||
| 22 | (ns_get_covering_families): Release charset. | ||
| 23 | (ns_findfonts): Release NSFontDescriptor created with new. | ||
| 24 | (ns_uni_to_glyphs): Fix indentation. | ||
| 25 | (setString): Release attrStr before assigning new value. | ||
| 26 | |||
| 1 | 2011-12-18 Jan Djärv <jan.h.d@swipnet.se> | 27 | 2011-12-18 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 28 | ||
| 3 | * nsmenu.m (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 | 29 | * nsmenu.m (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 |