summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b0a6fc)
raw | patch | inline | side by side (parent: 1b0a6fc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 6 Apr 2007 07:28:33 +0000 (07:28 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 6 Apr 2007 07:28:33 +0000 (07:28 +0000) |
program/src/rrd_gfx.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index 9c204f3bb0c57f21c54e8a301bf88749dd4e0020..99e2c774b065ebd476109b9be6c483bdec07d4e3 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/src/rrd_gfx.c
(long)(node->size*64),
(long)(100*canvas->zoom),
(long)(100*canvas->zoom));
- if ( error ) break;
+ if ( error ) {
+ FT_Done_Face(face);
+ break;
+ }
pen_x = node->x * canvas->zoom;
pen_y = node->y * canvas->zoom;
string = gfx_string_create (canvas, face, node->text, node->angle, node->tabwidth, node->size);
+ FT_Done_Face(face);
+
switch(node->halign){
case GFX_H_RIGHT: vec.x = -string->bbox.xMax;
break;