Commit fb46c103 authored by Bastien Nocera's avatar Bastien Nocera Committed by Paolo Bacchilega

Fix crash when compressing remote files

Though the crash could possibly happen with any operation. Use the
correct destructor for ->tmp_file, _g_object_unref() rather than
g_free().

https://bugzilla.gnome.org/show_bug.cgi?id=767577
parent f5489137
......@@ -79,7 +79,7 @@ xfer_data_free (XferData *data)
_g_object_list_unref (data->file_list);
_g_object_unref (data->base_dir);
g_free (data->dest_dir);
g_free (data->tmp_dir);
_g_object_unref (data->tmp_dir);
_g_object_unref (data->cancellable);
_g_object_unref (data->result);
g_free (data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment