aboutsummaryrefslogtreecommitdiffstats
path: root/chkfont.c
diff options
context:
space:
mode:
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;
}