Merged DMD commit 65e5c33d572077b43385744bb559fc760b4f91d1:

fix 2 issues spotted by valgrind
This commit is contained in:
David Nadlinger
2011-04-22 18:57:30 +02:00
parent 7022704598
commit 94c2145ae5
2 changed files with 3 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ void _aaRehash(AA** paa)
}
}
if (aa->b != aa->binit)
delete aa->b;
delete[] aa->b;
newb.nodes = aa->nodes;
}