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