Adding a small check when freeing memory in font dialog. Applying a patch by Iain...