GNOME Bugzilla – Bug 643208
Nautilus crashes when SVG loader is borked
Last modified: 2011-02-25 14:53:28 UTC
Created attachment 181846 [details] [review] Patch for gnome-2-32 branch In Ubuntu there was a problem with the gdk-pixbuf package that didn't register itself correctly to /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache. This made it fail on the gwibber icon, which is provided only as a SVG in /usr/share/pixmaps. This made gtk_icon_info_get_filename return NULL as 'filename', which was used to search in the hash table (see https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/718098). Attached patch guards against filename being NULL
Created attachment 181847 [details] [review] Patch for master
Review of attachment 181847 [details] [review]: Thanks, I inlined a comment. ::: libnautilus-private/nautilus-icon-info.c @@ +398,2 @@ filename = gtk_icon_info_get_filename (gtkicon_info); + if (filename == NULL) { You should free gtkicon_info before returning here.
Ok, fixed the leak and pushed to both master and gnome-2-32