llvm.org GIT mirror llvm / 5b8dbf8
plug memleak: destroy internal buffer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55632 91177308-0d34-0410-b5e6-96231b3b80d8 Nuno Lopes 11 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3636 // Start out ready to flush.
3737 OutBufStart = OutBufEnd = OutBufCur = 0;
3838 }
39 virtual ~raw_ostream() {}
39
40 virtual ~raw_ostream() {
41 delete [] OutBufStart;
42 }
4043
4144 //===--------------------------------------------------------------------===//
4245 // Configuration Interface