Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 311
    • Issues 311
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #32594
Closed
Open
Created Nov 24, 2019 by teor@teor

Fix CID 1455953: Resource leaks in #32427

** CID 1455953:  Resource leaks  (RESOURCE_LEAK)
/src/app/config/config.c: 1983 in options_act_reversible()


________________________________________________________________________________________________________
*** CID 1455953:  Resource leaks  (RESOURCE_LEAK)
/src/app/config/config.c: 1983 in options_act_reversible()
1977       tor_assert(*msg);
1978     
1979       options_rollback_log_transaction(log_transaction);
1980       options_rollback_listener_transaction(listener_transaction);
1981     
1982      done:
   CID 1455953:  Resource leaks  (RESOURCE_LEAK)
   Variable "listener_transaction" going out of scope leaks the storage it points to.
1983       return r;
1984     }
1985     
1986     /** If we need to have a GEOIP ip-to-country map to run with our configured
1987      * options, return 1 and set *<b>reason_out</b> to a description of why. */
1988     int
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking