From: Chris Lattner Date: Tue, 14 Jul 2009 20:45:41 +0000 (+0000) Subject: fix a bug in my previous patch. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=001c2b433fd7fc30904abb4eafc78ac996430fe6;p=oota-llvm.git fix a bug in my previous patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75678 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h index ecfa4b8ca8c..9658979352f 100644 --- a/include/llvm/Support/FormattedStream.h +++ b/include/llvm/Support/FormattedStream.h @@ -81,7 +81,7 @@ namespace llvm ~formatted_raw_ostream() { if (DeleteStream) - delete &TheStream; + delete TheStream; } void setStream(raw_ostream &Stream, bool Delete = false) {