Fix memory leak detected by asan.

llvm-svn: 287714
This commit is contained in:
Rui Ueyama 2016-11-22 23:13:08 +00:00
parent 8dbc6b2617
commit 3cc93d7a53
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ MipsOptionsSection<ELFT> *MipsOptionsSection<ELFT>::create() {
};
if (Create)
return new MipsOptionsSection<ELFT>(Reginfo);
return make<MipsOptionsSection<ELFT>>(Reginfo);
return nullptr;
}