diff options
Diffstat (limited to 'src/application.c')
-rw-r--r-- | src/application.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c index 4c69951..2bf9e09 100644 --- a/src/application.c +++ b/src/application.c | |||
@@ -56,6 +56,8 @@ application_init(MESSENGER_Application *app, | |||
56 | int argc, | 56 | int argc, |
57 | char **argv) | 57 | char **argv) |
58 | { | 58 | { |
59 | memset(app, 0, sizeof(*app)); | ||
60 | |||
59 | app->argc = argc; | 61 | app->argc = argc; |
60 | app->argv = argv; | 62 | app->argv = argv; |
61 | 63 | ||