Bug 823784 - B2G crash: nsHTMLMediaElement::UpdateAudioChannelPlayingState r=smaug

Don't delete a smart pointer; it can result in a double-free.
This commit is contained in:
Andrea Marchesini 2012-12-21 00:53:00 -08:00
parent 621ea014c0
commit 3cf9cf8018
2 changed files with 0 additions and 2 deletions

View File

@ -59,7 +59,6 @@ AudioChannelService::Shutdown()
}
if (gAudioChannelService) {
delete gAudioChannelService;
gAudioChannelService = nullptr;
}
}

View File

@ -47,7 +47,6 @@ void
AudioChannelServiceChild::Shutdown()
{
if (gAudioChannelServiceChild) {
delete gAudioChannelServiceChild;
gAudioChannelServiceChild = nullptr;
}
}