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:
parent
728bd91523
commit
14eb77660c
|
@ -484,5 +484,7 @@ printf("ta %p\n", ta);
|
||||||
*lResult = LresultFromObject(&IID_IAccessible, wParam, (LPUNKNOWN) (ta));
|
*lResult = LresultFromObject(&IID_IAccessible, wParam, (LPUNKNOWN) (ta));
|
||||||
printf("lResult %I32d\n", *lResult);
|
printf("lResult %I32d\n", *lResult);
|
||||||
// TODO check *lResult
|
// TODO check *lResult
|
||||||
|
// TODO adjust pointer
|
||||||
|
IAccessible_Release((IAccessible *) ta);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue