[tor-commits] [tor-browser/tor-browser-17.0.9esr-1] fixup! Isolate the Image Cache per url bar domain.

mikeperry at torproject.org mikeperry at torproject.org
Fri Oct 18 00:40:54 UTC 2013


commit 4c2763a742edd30dc711bfb8b365fcf39ab36981
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Thu Oct 17 17:35:36 2013 -0700

    fixup! Isolate the Image Cache per url bar domain.
    
    Fix a potential memory leak due to extra addrefs.
---
 image/src/imgLoader.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/image/src/imgLoader.cpp b/image/src/imgLoader.cpp
index 3a26cf4..a5bfa46 100644
--- a/image/src/imgLoader.cpp
+++ b/image/src/imgLoader.cpp
@@ -978,6 +978,7 @@ NS_IMETHODIMP imgLoader::FindEntryProperties(nsIURI *uri, nsIProperties **_retva
 
         *_retval = request->Properties();
         NS_ADDREF(*_retval);
+        break;
       }
     }
   }





More information about the tor-commits mailing list