[no subject]




Stefan

On Fri, 2002-10-11 at 12:40, Daniel Resare wrote:

[...]

    So, what can I do to free the memory that these functions allocate?
    calling g_object_unref() on the GdkPixbuf that
    gdk_pixbuf_new_from_file() returns doesn't seem to free the resources.
    

[...]

--=-AEku4rgqlDHIY/29ZlCh
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.0">
</HEAD>
<BODY>
I'm not sure at all, but shouldn't you use gdk_pixbuf_unref instead of g_object_unref ?
<BR>

<BR>
Probably gdk pixbuf had its own refcounting funcs before glib 2 came around, and was not ported... ?
<BR>

<BR>
A little off topic as far as your problem is concerned:
<BR>


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