oops, clear old _self_compose value

This commit is contained in:
David Rose 2002-07-15 21:29:21 +00:00
parent 28dcfa514a
commit 9a898fe061
2 changed files with 2 additions and 0 deletions

View File

@ -692,6 +692,7 @@ clear_cache() {
if (state->_self_compose != (RenderState *)NULL &&
state->_self_compose != state) {
unref_delete((RenderState *)state->_self_compose);
state->_self_compose = (RenderState *)NULL;
}
}

View File

@ -723,6 +723,7 @@ clear_cache() {
if (state->_self_compose != (TransformState *)NULL &&
state->_self_compose != state) {
unref_delete((TransformState *)state->_self_compose);
state->_self_compose = (TransformState *)NULL;
}
}