After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 537995 - crash when dnd-ing special desktop icons
crash when dnd-ing special desktop icons
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] GIO
2.23.x
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-12 14:09 UTC by Sebastien Bacher
Modified: 2008-06-12 14:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
use g_object_unref and fix the crash (429 bytes, patch)
2008-06-12 14:10 UTC, Sebastien Bacher
committed Details | Review

Description Sebastien Bacher 2008-06-12 14:09:21 UTC
using the current 2.23 version nautilus crashes when doing a dnd on special desktop icon, that's due to an incorrect g_free use
Comment 1 Sebastien Bacher 2008-06-12 14:10:00 UTC
Created attachment 112619 [details] [review]
use g_object_unref and fix the crash

the change fixes the crash issue
Comment 2 Cosimo Cecchi 2008-06-12 14:42:23 UTC
Thanks Sebastien, I committed the patch to trunk.

2008-06-12  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-dnd.c:
	(nautilus_drag_default_drop_action_for_icons):
	Don't use g_free () on a GFile. (#537995).