From c6cd57e82c27ef4b8a119ec4e2645cbc092b1b03 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 14 Feb 2015 14:19:04 -0500 Subject: [PATCH] Found one bug: forgot to update t->firstAcc in tableAccRelease(). --- wintable/accessibility.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wintable/accessibility.h b/wintable/accessibility.h index 39e9cf1..7af7390 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -89,6 +89,8 @@ static ULONG STDMETHODCALLTYPE tableAccRelease(IAccessible *this) if (TA->refcount == 0) { struct tableAcc *prev, *next; + if (TA->t != NULL && TA->t->firstAcc == TA) + TA->t->firstAcc = TA->next; prev = TA->prev; next = TA->next; if (prev != NULL)