diff options
-rw-r--r-- | src/styleengine.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index e725649d..72d7c48b 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -746,6 +746,10 @@ void StyleEngine::restyle () { n->wordStyle->unref (); n->wordStyle = NULL; } + if (n->backgroundStyle) { + n->backgroundStyle->unref (); + n->backgroundStyle = NULL; + } style0 (i); } |