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

[tor-commits] [Git][tpo/applications/tor-browser][tor-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 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:

Changes:

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

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