projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03283a3
)
Fix memory leak
author
Michael Cross
<mc@xi2.org>
Fri, 19 Aug 2016 10:28:22 +0000
(11:28 +0100)
committer
Michael Cross
<mc@xi2.org>
Fri, 19 Aug 2016 10:28:22 +0000
(11:28 +0100)
src/renderer-tiles.c
patch
|
blob
|
history
diff --git
a/src/renderer-tiles.c
b/src/renderer-tiles.c
index
dd25cfc
..
c6d87cb
100644
(file)
--- a/
src/renderer-tiles.c
+++ b/
src/renderer-tiles.c
@@
-222,9
+222,9
@@
static void rt_border_draw(RendererTiles *rt, gint x, gint y, gint w, gint h)
cairo_set_source_rgb(cr, (double)pr->color.red/65535, (double)pr->color.green/65535, (double)pr->color.blue/65535);
cairo_rectangle(cr, rx + rt->stereo_off_x, ry + rt->stereo_off_y, rw, rh);
cairo_fill(cr);
- cairo_destroy(cr);
rt_overlay_draw(rt, rx, ry, rw, rh, NULL);
}
+ cairo_destroy(cr);
return;
}