diff options
| author | Pietro Gagliardi <[email protected]> | 2014-11-09 23:44:46 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-11-09 23:44:46 -0500 |
| commit | 35d7b41726201dfb51aa5c3377514e3fe0ae8b35 (patch) | |
| tree | 27456d6843dcb13a7a1703e963c530aea062e7c1 /wintable | |
| parent | b8fdfa49fd4dd48ae443d6a4ba54c1579c8338cf (diff) | |
Settled a TODO in the accessibility code.
Diffstat (limited to 'wintable')
| -rw-r--r-- | wintable/accessibility_darwin.c | 3 |
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; } |
