summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-28 07:07:05 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-28 07:07:05 (GMT)
commitacd616ed1ca93383c5946040a3aa42b5d62dcbc2 (patch)
tree7f87e90444d500078fc6bb09e5c25028e970860b /kicad
parent3f81407dd9a82fddbe130f660e8760e22fe6d287 (diff)
downloadeeshow-acd616ed1ca93383c5946040a3aa42b5d62dcbc2.zip
eeshow-acd616ed1ca93383c5946040a3aa42b5d62dcbc2.tar.gz
eeshow-acd616ed1ca93383c5946040a3aa42b5d62dcbc2.tar.bz2
kicad/pl-render.c (expand): don't try to free string literal
Diffstat (limited to 'kicad')
-rw-r--r--kicad/pl-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/pl-render.c b/kicad/pl-render.c
index b1dba23..c50815a 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -134,7 +134,7 @@ static char *expand(const struct pl_ctx *pl, const char *s,
cx = sheet->size;
break;
default:
- x = "???";
+ cx = "???";
break;
}
if (!cx)