mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +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
@@ -93,8 +93,6 @@ static W_View *createView(W_Screen * screen, W_View * parent)
|
||||
ViewContext = XUniqueContext();
|
||||
|
||||
view = wmalloc(sizeof(W_View));
|
||||
memset(view, 0, sizeof(W_View));
|
||||
|
||||
view->screen = screen;
|
||||
|
||||
if (parent != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user