mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-16 05:55:45 +01:00
WINGs: Make wmalloc() intialize allocated memory to 0
- Accordingly remove individual memsets, for now from WINGs only. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
cf2301a048
commit
a71a604ab1
@@ -135,8 +135,6 @@ WMWindow *WMCreateWindowWithStyle(WMScreen * screen, char *name, int style)
|
||||
_Window *win;
|
||||
|
||||
win = wmalloc(sizeof(_Window));
|
||||
memset(win, 0, sizeof(_Window));
|
||||
|
||||
win->widgetClass = WC_Window;
|
||||
|
||||
win->view = W_CreateTopView(screen);
|
||||
|
||||
Reference in New Issue
Block a user