gtk_set_image_from_pixbuf mem leak



Hey!

I'm writing a game with Gtk v2.0. For the gameplay I
have a table of 3 layers of pictures I have to update
once in a while. If I use
gtk_image_set_image_from_pixbuf(Pixbuf*) gtk doesn't
seem to take care of deallocating the memory allocated
by the old pixbuf. Is there any way I can do that
myself?

Thank you all for your help!
Zigus

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]