mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
desktop_location can be NULL, check before unrefing
2009-03-12 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.c: (copy_job_done): desktop_location can be NULL, check before unrefing svn path=/trunk/; revision=15094
This commit is contained in:
parent
1a9d9b98af
commit
c272140881
|
@ -1,3 +1,9 @@
|
|||
2009-03-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.c:
|
||||
(copy_job_done):
|
||||
desktop_location can be NULL, check before unrefing
|
||||
|
||||
2009-03-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
Bug 550250 – nautilus crashed with SIGSEGV in g_type_check_instance_cast()
|
||||
|
|
|
@ -4302,7 +4302,9 @@ copy_job_done (gpointer user_data)
|
|||
if (job->destination) {
|
||||
g_object_unref (job->destination);
|
||||
}
|
||||
g_object_unref (job->desktop_location);
|
||||
if (job->desktop_location) {
|
||||
g_object_unref (job->desktop_location);
|
||||
}
|
||||
g_hash_table_unref (job->debuting_files);
|
||||
g_free (job->icon_positions);
|
||||
|
||||
|
|
Loading…
Reference in a new issue