mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Only release the interface if it exists.
This commit is contained in:
parent
fde979b8b5
commit
3950721c2d
@ -268,7 +268,7 @@ static void set_downloading_proc(task_t *_task)
|
||||
IDropTarget *drop_target = NULL;
|
||||
|
||||
hres = IDocHostUIHandler_GetDropTarget(doc->hostui, NULL /* FIXME */, &drop_target);
|
||||
if(SUCCEEDED(hres)) {
|
||||
if(SUCCEEDED(hres) && drop_target) {
|
||||
FIXME("Use IDropTarget\n");
|
||||
IDropTarget_Release(drop_target);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user