MCStreamer: Also clear vector of W64UnwindInfos on reset().

Patch by Kai Nacke!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Charles Davis 2013-05-07 21:14:15 +00:00
parent 32ec93d431
commit 8cb6b97160

View File

@ -35,6 +35,7 @@ MCStreamer::~MCStreamer() {
void MCStreamer::reset() {
for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i)
delete W64UnwindInfos[i];
W64UnwindInfos.clear();
EmitEHFrame = true;
EmitDebugFrame = false;
CurrentW64UnwindInfo = 0;