From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25276 invoked by alias); 28 Aug 2003 00:57:23 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 25268 invoked from network); 28 Aug 2003 00:57:22 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 28 Aug 2003 00:57:22 -0000 Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h7S0vK0J003275 for ; Thu, 28 Aug 2003 10:57:20 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h7S0vKkv020709 for ; Thu, 28 Aug 2003 10:57:20 +1000 (EST) Received: from localhost (ppp99.dyn228.pacific.net.au [203.143.228.99]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h7S0vIvj002135 for ; Thu, 28 Aug 2003 10:57:19 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19sB65-0001C5-00; Thu, 28 Aug 2003 10:57:09 +1000 To: guile-gtk@sources.redhat.com Subject: gdk-pixbuf creation copying From: Kevin Ryde Mail-Copies-To: never Date: Thu, 28 Aug 2003 00:57:00 -0000 Message-ID: <87he42lhui.fsf@zip.com.au> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00061.txt.bz2 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.