Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • F frocksdb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • rui xia
  • frocksdb
  • Repository
Switch branch/tag
  • frocksdb
  • db
  • deletefile_test.cc
Find file BlameHistoryPermalink
  • Zhongyi Xie's avatar
    fix memory leak in two_level_iterator · 4837609c
    Zhongyi Xie authored Apr 15, 2018
    Summary:
    this PR fixes a few failed contbuild:
    1. ASAN memory leak in Block::NewIterator (table/block.cc:429). the proper destruction of first_level_iter_ and second_level_iter_ of two_level_iterator.cc is missing from the code after the refactoring in https://github.com/facebook/rocksdb/pull/3406
    2. various unused param errors introduced by https://github.com/facebook/rocksdb/pull/3662
    3. updated comment for `ForceReleaseCachedEntry` to emphasize the use of `force_erase` flag.
    Closes https://github.com/facebook/rocksdb/pull/3718
    
    Reviewed By: maysamyabandeh
    
    Differential Revision: D7621192
    
    Pulled By: miasantreble
    
    fbshipit-source-id: 476c94264083a0730ded957c29de7807e4f5b146
    4837609c