mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1194014 - Fix MediaResource leaking caused by redundant AddRef. r=jya
This commit is contained in:
parent
ae79614638
commit
111366aa0e
@ -288,7 +288,6 @@ MPAPI::Decoder *AndroidMediaPluginHost::CreateDecoder(MediaResource *aResource,
|
||||
|
||||
decoder->mResource = strdup(url.get());
|
||||
if (plugin->CreateDecoder(&sPluginHost, decoder, chars, len)) {
|
||||
aResource->AddRef();
|
||||
return decoder.forget();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user