diff --git a/src/hardware/parport/printer.cpp b/src/hardware/parport/printer.cpp index 0602afb93..4607913cc 100644 --- a/src/hardware/parport/printer.cpp +++ b/src/hardware/parport/printer.cpp @@ -294,8 +294,10 @@ void CPrinter::selectCodepage(uint16_t cp) void CPrinter::updateFont() { - if (curFont != NULL) + if (curFont != NULL) { FT_Done_Face(curFont); + curFont = NULL; + } #if defined(USE_TTF) if (TTF_using()&&printfont) curFont = GetTTFFace();