Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [4699da] Maximize Restore History

Fix leak of 'pixbuf' gsb_gui_navigation_update_account_iter()

GObject-derived types are created with a reference count of 1 (unlike
GInitiallyUnowned-derived types which are created with a floating ref)
so they need to be unref()ed explicitly at some point.

Since the GtkTreeStore increments the reference count, we can unref() the
pixbuf after adding it to the store.
(cherry picked from commit fe6638ad9b82f0108a42b8253529b3ad4f8a68e3)

Rémi Cardona Rémi Cardona 2013-02-16

pbiava pbiava 2013-03-16

changed src/navigation.c
src/navigation.c Diff Switch to side-by-side view
Loading...