[gegl] gegl-tile: use gegl_tile_new_bare_internal() in gegl_tile_dup()
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-tile: use gegl_tile_new_bare_internal() in gegl_tile_dup()
- Date: Fri, 21 Jul 2017 16:29:00 +0000 (UTC)
commit 01fb757dabcf8e8baee58a525220ba063f9fb255
Author: Ell <ell_se yahoo com>
Date: Fri Jul 21 12:23:48 2017 -0400
gegl-tile: use gegl_tile_new_bare_internal() in gegl_tile_dup()
... to avoid leaking a newly allocated n_clones
gegl/buffer/gegl-tile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile.c b/gegl/buffer/gegl-tile.c
index bac5520..4cc675a 100644
--- a/gegl/buffer/gegl-tile.c
+++ b/gegl/buffer/gegl-tile.c
@@ -123,7 +123,7 @@ gegl_tile_new_bare (void)
GeglTile *
gegl_tile_dup (GeglTile *src)
{
- GeglTile *tile = gegl_tile_new_bare ();
+ GeglTile *tile = gegl_tile_new_bare_internal ();
tile->tile_storage = src->tile_storage;
tile->data = src->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]