summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-03-31 18:43:47 +0200
committerDennis Real <github@tildepipe.org>2012-03-31 18:43:47 +0200
commit58dd2e303c5ee380527d92a3fa3d6baeeacb50a1 (patch)
tree54204229407976231cf12cfb202de2a61ea19bed /src/winwidget.c
parentcf6f0320c15abd753951990a963d5c94b180bbde (diff)
parent82a976e0909e02ba8c25e4fd10d0e56a3e5c13ca (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c1
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;