Fix memory leak in unit test of Bitcode/BitReaderTest.cpp
authorDerek Schuff <dschuff@google.com>
Mon, 3 Aug 2015 21:23:51 +0000 (21:23 +0000)
committerDerek Schuff <dschuff@google.com>
Mon, 3 Aug 2015 21:23:51 +0000 (21:23 +0000)
commit83e36d9d45cdb1e4a9527772c71f37469d6784e0
tree75aa1a84611031136134446bddbcfa8962a50d04
parenta590533767b9b5a0161454c392ef9a8b77fcf01e
Fix memory leak in unit test of Bitcode/BitReaderTest.cpp

Fixes obvious memory leak in test
TestForEofAfterReadFailureOnDataStreamer.  Also removes constexpr use
from same test.

Patch by Karl Schimpf.

Differential Revision: http://reviews.llvm.org/D11735

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243904 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Bitcode/BitReaderTest.cpp