aboutsummaryrefslogtreecommitdiffstats
path: root/chkfont.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-06-01 23:26:46 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-06-01 23:26:46 +0100
commit5555d73c6b623d8ef484665784d2cd9cc1be3f7f (patch)
treeaa8e88bc5ef429d0fea632af1897034a38496b3c /chkfont.c
parent8fdab96d486ba52601544c67c38625480ddf7640 (diff)
downloadfiglet-5555d73c6b623d8ef484665784d2cd9cc1be3f7f.tar.gz
Imported Upstream version 2.2.5upstream/2.2.5upstream
Diffstat (limited to 'chkfont.c')
-rw-r--r--chkfont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chkfont.c b/chkfont.c
index 92fefad..63bf381 100644
--- a/chkfont.c
+++ b/chkfont.c
@@ -272,6 +272,7 @@ numsread=sscanf(fileline,"%c %d %d %d %d %d %d %d %d",
&hardblank,&charheight,&upheight,&maxlen,&old_layout,&cmtcount,
&ffrighttoleft,&layout,&spectagcnt);
free(fileline);
+fileline = NULL;
if (numsread<7) {
ffrighttoleft=0;
}