Fix stupid memory leak

llvm-svn: 233326
This commit is contained in:
Tobias Grosser 2015-03-26 22:22:33 +00:00
parent 36e25f4771
commit 97112eeeff
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ bool JSONImporter::runOnScop(Scop &S) {
isl_set_free(OldContext);
S.setContext(NewContext);
StatementToIslMapTy &NewScattering = *(new StatementToIslMapTy());
StatementToIslMapTy NewScattering;
int index = 0;