XdgAppContext: Always initialize bitfields

This commit is contained in:
Alexander Larsson
2015-09-11 13:01:06 +02:00
parent 931922c49d
commit c702fa2555

View File

@@ -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);