Found one bug: forgot to update t->firstAcc in tableAccRelease().

This commit is contained in:
Pietro Gagliardi 2015-02-14 14:19:04 -05:00
parent 3ce7a68754
commit c6cd57e82c
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ static ULONG STDMETHODCALLTYPE tableAccRelease(IAccessible *this)
if (TA->refcount == 0) { if (TA->refcount == 0) {
struct tableAcc *prev, *next; struct tableAcc *prev, *next;
if (TA->t != NULL && TA->t->firstAcc == TA)
TA->t->firstAcc = TA->next;
prev = TA->prev; prev = TA->prev;
next = TA->next; next = TA->next;
if (prev != NULL) if (prev != NULL)