mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:54:07 +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 a new issue