parent
4c45b083e1
commit
372399891d
|
@ -2471,6 +2471,7 @@ model_iterate_next_files_cb (GFileEnumerator *enumerator,
|
||||||
if (files == NULL)
|
if (files == NULL)
|
||||||
{
|
{
|
||||||
g_file_enumerator_close (enumerator, NULL, NULL);
|
g_file_enumerator_close (enumerator, NULL, NULL);
|
||||||
|
g_object_unref (enumerator);
|
||||||
async_node_free (async);
|
async_node_free (async);
|
||||||
|
|
||||||
if (!error)
|
if (!error)
|
||||||
|
@ -2522,6 +2523,7 @@ model_iterate_next_files_cb (GFileEnumerator *enumerator,
|
||||||
{
|
{
|
||||||
/* Check cancel state manually */
|
/* Check cancel state manually */
|
||||||
g_file_enumerator_close (enumerator, NULL, NULL);
|
g_file_enumerator_close (enumerator, NULL, NULL);
|
||||||
|
g_object_unref (enumerator);
|
||||||
async_node_free (async);
|
async_node_free (async);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue