Fix chkfont coredump on invalid input
Fix chkfont coredump on invalid input

Based on patch submitted by Kenneth Davies <kshrub@yahoo.com>
submitted in Debian bug #300735. Decrufted to provide double free()
fix, with minimal changes to FIGlet coding styles.

Bug-Debian: http://bugs.debian.org/300735

Signed-off-by: Jonathan McCrohan <570a29e1a0f65cf1fa3e2f066525eecae621874c@gmail.com>
Signed-off-by: Claudio Matsuoka <ef7f691d9947ca9adbfeb1538a53a661ec9f041b@gmail.com>

cmatsuoka/figlet,Distrotech/figlet,Distrotech/figlet,cmatsuoka/figlet