Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion compose/asc-compose.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ asc_compose_finalize (GObject *object)
if (priv->locale_unit != NULL)
g_object_unref (priv->locale_unit);

g_object_unref (priv->icon_policy);

g_mutex_clear (&priv->mutex);

G_OBJECT_CLASS (asc_compose_parent_class)->finalize (object);
Expand Down Expand Up @@ -1755,7 +1757,7 @@ asc_compose_process_task_cb (AscComposeTask *ctask, AscCompose *compose)
/* clean up superfluous hints in case we were filtering the results, as some rejected
* components may have generated errors while we were inspecting them */
if (filter_cpts) {
const gchar **cids = asc_result_get_component_ids_with_hints (ctask->result);
g_autofree const gchar **cids = asc_result_get_component_ids_with_hints (ctask->result);
for (guint i = 0; cids[i] != NULL; i++) {
if (!g_hash_table_contains (priv->allowed_cids, cids[i])) {
/* we want to catch out-of-scope XML errors as well, which have a CID
Expand Down
Loading