mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 12:03:08 +00:00
Bug 1600351 - don't release things we don't own, r=barret
Let's not be calling CFRelease on things we don't own. Differential Revision: https://phabricator.services.mozilla.com/D55336 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
df4a65de6c
commit
76000d88d1
@ -181,7 +181,6 @@ NS_IMETHODIMP nsOSHelperAppService::IsCurrentAppOSDefaultForProtocol(const nsACS
|
||||
CFURLRef selfURL = ::CFBundleCopyBundleURL(appBundle);
|
||||
*_retval = ::CFEqual(selfURL, handlerBundleURL);
|
||||
rv = NS_OK;
|
||||
::CFRelease(appBundle);
|
||||
::CFRelease(selfURL);
|
||||
}
|
||||
::CFRelease(handlerBundleURL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user