summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 20:49:43 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-30 20:52:05 (GMT)
commitfed91b8b2e8d4de93d001025fa83f6b8d7c51e49 (patch)
treee8483b969126f961923e264d1bcff2b623756de2 /kicad
parent4003ac990ea31e7192f4679a6902cdf568eb58eb (diff)
downloadeeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.zip
eeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.tar.gz
eeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.tar.bz2
fix a few trivial memory leaks; eeshow ... -- pdf now passes
Diffstat (limited to 'kicad')
-rw-r--r--kicad/dwg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kicad/dwg.c b/kicad/dwg.c
index fc0efa2..27e84ba 100644
--- a/kicad/dwg.c
+++ b/kicad/dwg.c
@@ -268,6 +268,7 @@ void dwg_glabel(struct gfx *gfx, int x, int y, const char *s, int dir, int dim,
alloc_printf(&tag, "G:%s", s);
gfx_tag(gfx, tag, n, vx, vy);
+ free(tag);
}