[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-153.4.0esr-16.0-1] fixup! BB 9173: Change the default Firefox profile directory to be relative.



Title: GitLab

brizental pushed to branch mullvad-browser-153.4.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • 0759d92f
    by Beatriz Rizental at 2026-10-06T16:07:25-03: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:

Changes:

  • toolkit/xre/nsXREDirProvider.cpp
    ... ... @@ -782,6 +782,9 @@ void nsXREDirProvider::DoShutdown() {
    782 782
     
    
    783 783
       gDataDirProfileLocal = nullptr;
    
    784 784
       gDataDirProfile = nullptr;
    
    785
    +#if defined(RELATIVE_DATA_DIR)
    
    786
    +  gDataDirPortable.reset();
    
    787
    +#endif
    
    785 788
     }
    
    786 789
     
    
    787 790
     #ifdef XP_WIN
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx