1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-svn: 161826
This commit is contained in:
Eric Christopher 2012-08-14 01:09:10 +00:00
parent 79503bef02
commit 65f6159be4

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);
}