Navigation Menu

Skip to content

Commit

Permalink
Fix segfault at exit caused by non grabbed font
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Nov 30, 2014
1 parent 175b7a2 commit 16781da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fontengine.cpp
Expand Up @@ -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.