mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-17 23:05:50 +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
@@ -41,7 +41,6 @@ WMMenuItem *WMCreateMenuItem(void)
|
||||
WMMenuItem *item;
|
||||
|
||||
item = wmalloc(sizeof(MenuItem));
|
||||
memset(item, 0, sizeof(MenuItem));
|
||||
|
||||
item->flags.enabled = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user