No need to call memset after wmalloc
commitcc30444dda23f40881e29ff3f7bb4414b824513f
authorTobias Stoeckmann <tobias@openbsd.org>
Fri, 4 May 2012 20:53:04 +0000 (4 22:53 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 4 May 2012 21:41:01 +0000 (4 18:41 -0300)
treeb992195e649306d72d8df61212afa174b768d003
parentaee0ad45f27d7af9b270692aa35d8ad734c8213e
No need to call memset after wmalloc

memset is the last function call in wmalloc, just before it returns the
newly allocated memory.  Therefore it is not needed to call it again
after wmalloc call.  Although I would prefer to switch wmalloc to a
calloc-based wcalloc function, the compatibility of WINGs for old apps
should be kept.
45 files changed:
WINGs/data.c
WINGs/hashtable.c
WINGs/proplist.c
WINGs/wbutton.c
WINGs/wfontpanel.c
WPrefs.app/Appearance.c
WPrefs.app/Configurations.c
WPrefs.app/Expert.c
WPrefs.app/Focus.c
WPrefs.app/FontSimple.c
WPrefs.app/Icons.c
WPrefs.app/KeyboardSettings.c
WPrefs.app/KeyboardShortcuts.c
WPrefs.app/Menu.c
WPrefs.app/MenuPreferences.c
WPrefs.app/MouseSettings.c
WPrefs.app/Paths.c
WPrefs.app/Preferences.c
WPrefs.app/TexturePanel.c
WPrefs.app/Themes.c
WPrefs.app/WindowHandling.c
WPrefs.app/Workspace.c
WPrefs.app/double.c
WPrefs.app/editmenu.c
src/appicon.c
src/application.c
src/balloon.c
src/defaults.c
src/dialog.c
src/dock.c
src/dockedapp.c
src/event.c
src/framewin.c
src/icon.c
src/menu.c
src/pixmap.c
src/placement.c
src/screen.c
src/session.c
src/switchpanel.c
src/texture.c
src/wcore.c
src/window.c
util/wmagnify.c
util/wmsetbg.c