llvm-svn: 161826
This commit is contained in:
Eric Christopher 2012-08-14 01:09:10 +00:00
parent 245920463d
commit 97f6ea9f34
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ const Function *MDNode::getFunction() const {
// destroy - Delete this node. Only when there are no uses.
void MDNode::destroy() {
setValueSubclassData(getSubclassDataFromValue() | DestroyFlag);
// Placement delete, the free the memory.
// Placement delete, then free the memory.
this->~MDNode();
free(this);
}