pd.pool = pool;
- pd.parser = XML_ParserCreate_MM (NULL, NULL, NULL);
pd.parser = XML_ParserCreate (NULL);
pd.stack_depth = 0;
XML_SetUserData (pd.parser, &pd);
XML_ParserFree (pd.parser);
+ pd_unref_data (&pd);
return TRUE;
error:
G_FILE_MONITOR_NONE,
NULL,
&error);
+ g_object_unref (file);
if (monitor == NULL)
{
g_warning ("Error monitoring directory %s: %s",
set_property_str (authority, obj, key, value);
g_free (key);
}
- g_free (keys);
+ g_strfreev (keys);
ret = TRUE;
g_assert (expected_admins[n] == NULL);
g_list_free_full (admin_identities, g_object_unref);
+ g_clear_object (&details);
g_clear_object (&user_for_subject);
g_clear_object (&subject);
g_clear_object (&caller);
POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN);
g_assert_cmpint (result, ==, tc->expected_result);
+ g_clear_object (&details);
g_clear_object (&user_for_subject);
g_clear_object (&subject);
g_clear_object (&caller);