diff options
-rw-r--r-- | hw/xprint/ps/psout_ft.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xprint/ps/psout_ft.c b/hw/xprint/ps/psout_ft.c index b10d9e592..30939f972 100644 --- a/hw/xprint/ps/psout_ft.c +++ b/hw/xprint/ps/psout_ft.c @@ -280,6 +280,8 @@ PsOut_FreeType_Text16(FontPtr pFont, PsOutPtr self, int x, int y, unsigned short else { sprintf(buf, "%s", baseFontName); + xfree(self->FontName); + self->FontName = NULL; } if( self->FontSize == -1 ) |