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.

This commit is contained in:
Pietro Gagliardi 2015-02-14 18:10:19 -05:00
parent 728bd91523
commit 14eb77660c
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}