Index: webrtc/base/proxydetect.cc |
diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc |
index 71910aa2d4dea77aff2756675afbfef1a1f36d9a..10e7a02241c3af442065ecc85a50316aebf66575 100644 |
--- a/webrtc/base/proxydetect.cc |
+++ b/webrtc/base/proxydetect.cc |
@@ -1170,6 +1170,9 @@ |
result = p_putPasswordInProxyInfo(proxy); |
} |
+ // We created the dictionary with something that had the |
+ // word 'copy' in it, so we have to release it, according |
+ // to the Carbon memory management standards. |
CFRelease(proxyDict); |
} else { |
LOG(LS_ERROR) << "SCDynamicStoreCopyProxies failed"; |
@@ -1220,6 +1223,9 @@ |
result = true; |
} |
+ // We created the dictionary with something that had the |
+ // word 'copy' in it, so we have to release it, according |
+ // to the Carbon memory management standards. |
CFRelease(proxy_dict); |
return result; |