forked from AuroraMiddleware/gtk
Destroy the cairo surface when done with it. Plugs a fairly large leak in
2005-06-10 Kjartan Maraas <kmaraas@gnome.org> * gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the cairo surface when done with it. Plugs a fairly large leak in some cases. ==6014== 1999824 (115640 direct, 1884184 indirect) bytes in 826 blocks are definitely lost in loss record 25239 of 25250 Like this from nautilus.
This commit is contained in:
parent
fa6f8b9401
commit
3003d2edc4
@ -1,3 +1,12 @@
|
||||
2005-06-10 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
|
||||
cairo surface when done with it. Plugs a fairly large leak in
|
||||
some cases.
|
||||
==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
|
||||
826 blocks are definitely lost in loss record 25239 of 25250
|
||||
Like this from nautilus.
|
||||
|
||||
2005-06-10 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtk.symbols
|
||||
|
@ -1,3 +1,12 @@
|
||||
2005-06-10 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
|
||||
cairo surface when done with it. Plugs a fairly large leak in
|
||||
some cases.
|
||||
==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
|
||||
826 blocks are definitely lost in loss record 25239 of 25250
|
||||
Like this from nautilus.
|
||||
|
||||
2005-06-10 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtk.symbols
|
||||
|
@ -1,3 +1,12 @@
|
||||
2005-06-10 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
|
||||
cairo surface when done with it. Plugs a fairly large leak in
|
||||
some cases.
|
||||
==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
|
||||
826 blocks are definitely lost in loss record 25239 of 25250
|
||||
Like this from nautilus.
|
||||
|
||||
2005-06-10 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtk.symbols
|
||||
|
@ -215,6 +215,7 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
|
||||
}
|
||||
|
||||
cairo_set_source_surface (cr, surface, pixbuf_x, pixbuf_y);
|
||||
cairo_surface_destroy (surface);
|
||||
}
|
||||
|
||||
#define __GDK_CAIRO_C__
|
||||
|
Loading…
Reference in New Issue
Block a user