brizental pushed to branch tor-browser-153.4.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: e0d4d96b by Beatriz Rizental at 2026-10-06T21:02:30+02:00 fixup! BB 9173: Change the default Firefox profile directory to be relative. Clear the cached gDataDirPortable in DoShutdown, as is done for the other cached directories. Otherwise its nsIFile is only released by static destructors, after the leak checker runs, and every test run reports a 48 byte leak. - - - - - 1 changed file: - toolkit/xre/nsXREDirProvider.cpp Changes: ===================================== toolkit/xre/nsXREDirProvider.cpp ===================================== @@ -784,6 +784,9 @@ void nsXREDirProvider::DoShutdown() { gDataDirProfileLocal = nullptr; gDataDirProfile = nullptr; +#if defined(RELATIVE_DATA_DIR) + gDataDirPortable.reset(); +#endif } #ifdef XP_WIN View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e0d4d96b... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e0d4d96b... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
brizental (@brizental)