summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-11-09 23:44:46 -0500
committerPietro Gagliardi <[email protected]>2014-11-09 23:44:46 -0500
commit35d7b41726201dfb51aa5c3377514e3fe0ae8b35 (patch)
tree27456d6843dcb13a7a1703e963c530aea062e7c1
parentb8fdfa49fd4dd48ae443d6a4ba54c1579c8338cf (diff)
Settled a TODO in the accessibility code.
-rw-r--r--wintable/accessibility_darwin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wintable/accessibility_darwin.c b/wintable/accessibility_darwin.c
index 6d50a96..d72524c 100644
--- a/wintable/accessibility_darwin.c
+++ b/wintable/accessibility_darwin.c
@@ -71,10 +71,9 @@ ULONG STDMETHODCALLTYPE taRelease(IUnknown *this)
ULONG rc;
rc = (ULONG) InterlockedDecrement((volatile LONG *) (&(((tableAccessible *) this)->refcount)));
- // TODO pull the refcount back out?
+ // don't pull the refcount back out (see http://blogs.msdn.com/b/oldnewthing/archive/2013/04/25/10413997.aspx)
if (rc == 0)
free((tableAccessible *) this);
- // TODO pull the refcount back out?
return rc;
}