mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-23 16:06:55 +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:
1 parent
cf2301a048
commit
a71a604ab1
34 files changed
+4
-89
No files matched your search
@@ -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