From c702fa2555d6a478e29e89f2b89bb2b620741f32 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 11 Sep 2015 13:01:06 +0200 Subject: [PATCH] XdgAppContext: Always initialize bitfields --- lib/xdg-app-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xdg-app-run.c b/lib/xdg-app-run.c index 1c4ac31d..92f35222 100644 --- a/lib/xdg-app-run.c +++ b/lib/xdg-app-run.c @@ -91,7 +91,7 @@ xdg_app_context_new (void) { XdgAppContext *context; - context = g_slice_new (XdgAppContext); + context = g_slice_new0 (XdgAppContext); context->env_vars = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); context->persistent = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); context->filesystems = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);