Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2365) gui-gtk: free_sprite doesn't free mask
Home

[Freeciv-Dev] (PR#2365) gui-gtk: free_sprite doesn't free mask

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2365) gui-gtk: free_sprite doesn't free mask
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 6 Dec 2002 14:33:11 -0800
Reply-to: rt@xxxxxxxxxxxxxx

IMHO we should solve it in the following way:
 - make a rule that all pixmaps are freed by us
 - for the imlib pixmaps we clone them after they are created by 
imlib with our own functions (ctor_sprite_mask) and free the imlib 
one's after this.

     Raimar


[Prev in Thread] Current Thread [Next in Thread]