GdkPixbuf



Hi everyone,

Could anyone tell me whether we have to free a GdkPixbuf * when we dont need it. Its something like this.

I use gdk_pixbuf_new_from_file or gdk_pixbuf_render_pixmap_bitmap functions.
So do i have to free the memory allocated by these functions explicitly or is it okay to leave it.
If i do have to free it how do i, Should i use g_free or unref functions.


Thank You
Abhishek Samuel

_________________________________________________________________
News, views and gossip. http://www.msn.co.in/Cinema/ Get it all at MSN Cinema!




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