Skip to content
Permalink
Browse files

Fix segfault at exit caused by non grabbed font

  • Loading branch information
kahrl committed Nov 30, 2014
1 parent 175b7a2 commit 16781da4f97af2704cae3a5534bd1a80db2d74c4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/fontengine.cpp
@@ -456,6 +456,7 @@ void FontEngine::initSimpleFont(unsigned int basesize, FontMode mode)
}

if (font != NULL) {
font->grab();
m_font_cache[mode][basesize] = font;
}
}

0 comments on commit 16781da

Please sign in to comment.