Fix FakeClientCommandEx always leaking memory (bug 5678, r=psychonic).
This commit is contained in:
parent
b4156a19c3
commit
cd349946e8
@ -748,6 +748,7 @@ void CHalfLife2::ProcessFakeCliCmdQueue()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_CmdQueue.pop();
|
m_CmdQueue.pop();
|
||||||
|
m_FreeCmds.push(pFake);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user