This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
gdk-pixbuf creation copying
- From: Kevin Ryde <user42 at zip dot com dot au>
- To: guile-gtk at sources dot redhat dot com
- Date: Thu, 28 Aug 2003 10:57:09 +1000
- Subject: gdk-pixbuf creation copying
I'm pretty sure these don't want their return copied, and that doing
so is a memory leak of those objects.
* gdk-pixbuf/gdk-pixbuf.defs (gdk_pixbuf_new, gdk_pixbuf_copy,
gdk_pixbuf_new_from_file, gdk_pixbuf_add_alpha,
gdk_pixbuf_get_from_drawable, gdk_pixbuf_scale_simple,
gdk_pixbuf_composite_color_simple,
gdk_pixbuf_animation_new_from_file): Add "copy #f" to return values.