mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
mshtml: Only release the interface if it exists.
This commit is contained in:
parent
fde979b8b5
commit
3950721c2d
1 changed files with 1 additions and 1 deletions
|
@ -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