URL:
  <http://gna.org/bugs/?21534>

                 Summary: Unfreed pixbufs from sprite_get_pixbuf()
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 24 Jan 2014 12:13:48 AM EET
                Category: client-gtk-3.0
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

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:

  <http://gna.org/bugs/?21534>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to