* alloc.c (allocate_window): Zero out non-Lisp part of newly
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 26 Jun 2012 14:41:01 +0000 (18:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 26 Jun 2012 14:41:01 +0000 (18:41 +0400)
commit62efea5e881407a178c5c291575facc17dca8a3f
tree03224f091836b782bea0e86c76d9135d9a5f86bf
parent995a55159dc4b4831e45fe9827a99cadad1bcbd3
* alloc.c (allocate_window): Zero out non-Lisp part of newly
allocated window.
(allocate_process): Likewise for new process.
(allocate_terminal): Changed to use offsetof.
(allocate_frame): Likewise.
* frame.c (make_frame): Omit redundant initialization.
* window.c (make_parent_window): Use memset.
(make_window): Omit redundant initialization.
* process.c (make_process): Omit redundant initialization.
* terminal.c (create_terminal): Likewise.
src/ChangeLog
src/alloc.c
src/frame.c
src/process.c
src/terminal.c
src/window.c