aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJim Meyering2008-06-02 06:09:17 +0000
committerJim Meyering2008-06-02 06:09:17 +0000
commit70fdbb46cd40f9376333e10c9284873d3a3a787f (patch)
treed087a93bc6d9be911fce5e28e1112f6c5dfddb09 /lib-src
parent5c19cd0bbb8f3b8142c0b8f90eebdd84b7a3eb29 (diff)
downloademacs-70fdbb46cd40f9376333e10c9284873d3a3a787f.tar.gz
emacs-70fdbb46cd40f9376333e10c9284873d3a3a787f.zip
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
* src/alloc.c (xfree): Return right away for a NULL arg. * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests. * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise. * src/mac.c (create_apple_event_from_event_ref): Likewise. (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise. * src/doprnt.c (doprnt1): Likewise. * src/frame.c (frame): Likewise. * src/keyboard.c (wipe_kboard): Likewise. * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap): (init_font_name_table, mac_unload_font, x_delete_display): Likewise. * src/term.c (tty_default_color_capabilities, maybe_fatal) (delete_tty): Likewise. * src/w16select.c (string): Likewise. * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. * src/w32bdf.c (w32_free_bdf_font): Likewise. * src/w32fns.c (w32_unload_font): Likewise. * src/w32font.c (w32font_close): Likewise. * src/window.c (size_window): Likewise. * src/xselect.c (receive_incremental_selection): Likewise. * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise. * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise. * src/w32.c (stat): Likewise.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 95d06f5dfc1..b2edff07814 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,12 +1,12 @@
12008-06-02 Jim Meyering <meyering@redhat.com> 12008-06-02 Jim Meyering <meyering@redhat.com>
2 2
3 * lib-src/ebrowse.c (xfree): Remove definition; s/xfree/free/ 3 * ebrowse.c (xfree): Remove definition; s/xfree/free/
4 4
5 remove useless if-before-free tests 5 remove useless if-before-free tests
6 * lib-src/ebrowse.c (xfree): Likewise. 6 * ebrowse.c (xfree): Likewise.
7 * lib-src/etags.c (process_file_name, free_tree, free_fdesc): Likewise. 7 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
8 (popclass_above, Prolog_functions, Erlang_functions): Likewise. 8 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
9 * lib-src/pop.c (pop_quit): Likewise. 9 * pop.c (pop_quit): Likewise.
10 10
112008-05-30 Juanma Barranquero <lekktu@gmail.com> 112008-05-30 Juanma Barranquero <lekktu@gmail.com>
12 12