Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Renderer
  • LRUCache.hpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Fix memory leak when aborting routine generation. · 619a8c5a
    Nicolas Capens authored Jul 05, 2017
    The blitter aborts generating a Reactor routine when a less common
    format is being used (causing fallback to statically compiled code). But
    the intermediate Reactor and Subzero structures were not being freed. It
    is fixed by deleting the global routine when the Function<> goes out of
    scope and it hasn't been acquired yet.
    
    Bug chromium:732691
    
    Change-Id: I4904a467454e8e8d2ff0dbf64545823c9fd15802
    Reviewed-on: https://swiftshader-review.googlesource.com/10408Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    Tested-by: 's avatarNicolas Capens <capn@google.com>
    619a8c5a
LRUCache.hpp 2.45 KB
EditWeb IDE
×

Replace LRUCache.hpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.