diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-12 18:32:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-12 18:32:30 +0000 |
commit | f0edc6c18b9beffa1ccce9dc84ad04cc9d4534ee (patch) | |
tree | 3b446acf5be2446034ed8e8b9679c497cec7e4e1 /lib/Analysis/DataStructure/Local.cpp | |
parent | 65d8c1e8d49150187b8561be931abf6b83afd793 (diff) |
Fix massive resource leaks in the bytecode reader. Reading a bytecode file
with ParseBytecodeFile used to leak both a ModuleProvider (and related
bytecode parser stuff attached to it) AND a file descriptor, which was
never closed. This prevented gccld/llvm-ld/llvm-link from linking together
apps with more that ~252 .bc files on darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions