The problem was pointed out by Xavier Claessens in bug 626208.
cmp_source = g_async_result_get_source_object (result);
if (cmp_source != source)
{
cmp_source = g_async_result_get_source_object (result);
if (cmp_source != source)
{
- g_object_unref (cmp_source);
+ if (cmp_source != NULL)
+ g_object_unref (cmp_source);
- g_object_unref (cmp_source);
+ if (cmp_source != NULL)
+ g_object_unref (cmp_source);
return source_tag == g_simple_async_result_get_source_tag (simple);
}
return source_tag == g_simple_async_result_get_source_tag (simple);
}