Commit 05165ece authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi

Fix a crash due to a missing NULL check (#520947).

2008-03-07  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-file-operations.c:
	(callback_for_move_to_trash):
	Fix a crash due to a missing NULL check (#520947).

svn path=/trunk/; revision=13897
parent 5aa5cdc7
2008-03-07 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-file-operations.c:
(callback_for_move_to_trash):
Fix a crash due to a missing NULL check (#520947).
2008-03-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-bookmark.c:
......
......@@ -4568,7 +4568,8 @@ callback_for_move_to_trash (GHashTable *debuting_uris,
gboolean user_cancelled,
MoveTrashCBData *data)
{
data->real_callback (debuting_uris, data->real_data);
if (data->real_callback)
data->real_callback (debuting_uris, data->real_data);
g_slice_free (MoveTrashCBData, 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