Summary: Unfreed pixbufs from sprite_get_pixbuf()
Submitted by: cazfi
Submitted on: Fri 24 Jan 2014 12:13:48 AM EET
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: None
Discussion Lock: Any
Operating System: None
sprite_get_pixbuf() works quite differently in gtk3-client compared to
gtk2-client implementation. Many callers are not aware of that. gtk2-client
version caches result to sprite structure, and frees it when sprite is freed.
gtk3-version does no caching - it creates it a new every time, and never frees
it. It's callers responsibility to g_object_unref() pixbuf they receive.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list