equal
deleted
inserted
replaced
|
1 # HG changeset patch |
|
2 # Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10 |
|
3 Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage |
|
4 |
|
5 diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp |
|
6 --- a/netwerk/base/nsIOService.cpp |
|
7 +++ b/netwerk/base/nsIOService.cpp |
|
8 @@ -830,17 +830,23 @@ nsIOService::NewChannelFromURIWithProxyF |
|
9 consoleService->LogStringMessage(NS_LITERAL_STRING( |
|
10 "Http channel implementation doesn't support nsIUploadChannel2. An extension has supplied a non-functional http protocol handler. This will break behavior and in future releases not work at all." |
|
11 ).get()); |
|
12 } |
|
13 gHasWarnedUploadChannel2 = true; |
|
14 } |
|
15 } |
|
16 |
|
17 +#if defined(__aarch64__) |
|
18 + if (result) { |
|
19 + channel.forget(result); |
|
20 + } |
|
21 +#else |
|
22 channel.forget(result); |
|
23 +#endif |
|
24 return NS_OK; |
|
25 } |
|
26 |
|
27 NS_IMETHODIMP |
|
28 nsIOService::NewChannelFromURIWithProxyFlags2(nsIURI* aURI, |
|
29 nsIURI* aProxyURI, |
|
30 uint32_t aProxyFlags, |
|
31 nsIDOMNode* aLoadingNode, |