Commit 82a976e0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

winwidget_allocate: memset winwid to zero

parent 8c8c1d5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ static winwidget winwidget_allocate(void)
	winwidget ret = NULL;

	ret = emalloc(sizeof(_winwidget));
	memset(ret, 0, sizeof(_winwidget));

	ret->win = 0;
	ret->w = 0;