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
commit87150ee76b2511a644e4b519094da539d3618009 (patch)
tree1a413936c195d22caee592b2d4a6ccd03564c922 /chkfont.c
parent017f336a5121897cd64179e84ded15e1dd37bd92 (diff)
parent5555d73c6b623d8ef484665784d2cd9cc1be3f7f (diff)
downloadfiglet-87150ee76b2511a644e4b519094da539d3618009.tar.gz
Merge tag 'upstream/2.2.5'
Upstream version 2.2.5
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;
}