{
g_free (account_hits->account_id);
g_free (account_hits->account_name);
+ g_free (account_hits->store_protocol);
modest_account_hits_hits_list_free (account_hits->hits);
g_slice_free (ModestAccountHits, account_hits);
}
goto out;
}
+ /* store protocol */
+ arg_type = dbus_message_iter_get_arg_type (&child);
+
+ if (arg_type != DBUS_TYPE_STRING) {
+ error = TRUE;
+ goto out;
+ }
+
+ account_hits->store_protocol = _dbus_iter_get_string_or_null (&child);
+
+ res = dbus_message_iter_next (&child);
+ if (res == FALSE) {
+ error = TRUE;
+ goto out;
+ }
+
/* list of hits */
dbus_message_iter_recurse (&child, &traverse);
account_hits->hits = NULL;