diff options
Diffstat (limited to 'frontends/windows/hotlist.c')
-rw-r--r-- | frontends/windows/hotlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/windows/hotlist.c b/frontends/windows/hotlist.c index 0efe76f79..e8dd90b34 100644 --- a/frontends/windows/hotlist.c +++ b/frontends/windows/hotlist.c @@ -130,7 +130,7 @@ static nserror nsw32_hotlist_init(HINSTANCE hInstance) return NSERROR_OK; } - ncwin = malloc(sizeof(struct nsw32_hotlist_window)); + ncwin = calloc(1, sizeof(*ncwin)); if (ncwin == NULL) { return NSERROR_NOMEM; } |