Bug 126639

Summary: GtkIconFactory incorrectly uses g_free on a GdkPixbuf
Product: [Fedora] Fedora Reporter: Bojan Smojver <bojan>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=141961
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-10 05:42:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 125739    
Bug Blocks:    

Description Bojan Smojver 2004-06-24 03:02:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040510 Galeon/1.3.15

Description of problem:
In gtkiconfactory.c, icon_source_clear performs a g_free on a
GdkPixbuf object. This is wrong, as its an object, it should just be
performing an g_object_unref on it. I'll attach the obvious patch
(which isn't tested).

See GNOME bug: 141961

http://bugzilla.gnome.org/show_bug.cgi?id=141961

This bug normally crashes Galeon 1.3.15 when a download is cancelled.

Version-Release number of selected component (if applicable):
gtk2-2.4.0-1

How reproducible:
Always

Steps to Reproduce:
1. Run Galeon 1.3.15, click to download a file.
2. Cancel download.
3. Repeat until Galeon crashes.

IMPORTANT: THIS IS NOT A BUG IN GALEON!
    

Actual Results:  Galeon crashes due to a bug in gtk+ 2.4.0.

Expected Results:  There should be no crash.

Additional info:

This is fixed in gtk+-2.4.3, so this RPM just need a bit of a rebuild.