mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix a memory correctness error noticed by valgrind (harmless in practice).
Thanks to Duncan Sands for noticing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdd75125b8
commit
afa47c5a26
@ -110,7 +110,7 @@ namespace llvm {
|
||||
return;
|
||||
if (--S->getValue().Refcount == 0) {
|
||||
S->getValue().Pool->InternTable.remove(S);
|
||||
delete S;
|
||||
S->Destroy();
|
||||
}
|
||||
S = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user