diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-03-29 00:47:42 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-03-29 00:47:42 +0200 |
commit | 82a976e0909e02ba8c25e4fd10d0e56a3e5c13ca (patch) | |
tree | e835f83694ce1821a06a587abbeb36aabae2841c /src | |
parent | 8c8c1d5d52096a24e751f07d94972253a0e5054c (diff) |
winwidget_allocate: memset winwid to zero
Diffstat (limited to 'src')
-rw-r--r-- | src/winwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index ae34045..0a9adc8 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -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; |