diff options
-rw-r--r-- | src/application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.c b/src/application.c index 30cd060..945bea9 100644 --- a/src/application.c +++ b/src/application.c @@ -84,7 +84,7 @@ mq_application_new(const gchar *profile) { MqApplication *application; - application = malloc(sizeof(*application)); + application = g_new0(MqApplication, 1); application->profiles = mq_profiles_new(); mq_profiles_set_current(application->profiles, profile); application->config = mq_profiles_get_current_config( |