diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-14 18:10:19 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-14 18:10:19 -0500 |
| commit | 14eb77660c50ebd5d9218a6bad1fac0f1acbc108 (patch) | |
| tree | 6a99b6986e8c496046a88085f165aa14ace6657e | |
| parent | 728bd91523be6d828571b4380518d953d8480bcc (diff) | |
Our use of LresultFromObject() now requires us to release our initial reference immediately to avoid a memory leak (as objects are created on the fly now); do it.
| -rw-r--r-- | wintable/accessibility.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wintable/accessibility.h b/wintable/accessibility.h index c69c9cb..a6cbfd0 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -484,5 +484,7 @@ printf("ta %p\n", ta); *lResult = LresultFromObject(&IID_IAccessible, wParam, (LPUNKNOWN) (ta)); printf("lResult %I32d\n", *lResult); // TODO check *lResult + // TODO adjust pointer + IAccessible_Release((IAccessible *) ta); return TRUE; } |
