mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 12:25:53 +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
@@ -607,8 +607,6 @@ WMSplitView *WMCreateSplitView(WMWidget * parent)
|
||||
WMSplitView *sPtr;
|
||||
|
||||
sPtr = wmalloc(sizeof(WMSplitView));
|
||||
memset(sPtr, 0, sizeof(WMSplitView));
|
||||
|
||||
sPtr->widgetClass = WC_SplitView;
|
||||
|
||||
sPtr->view = W_CreateView(W_VIEW(parent));
|
||||
|
||||
Reference in New Issue
Block a user