Fixed all remaining memory leaks that I could figure out except for a 4 byte
leak that isn't being caught by the smnew macro for some reason. It might be in one of the third party libraries or something, I'm not sure.
This commit is contained in:
@@ -48,6 +48,12 @@ LifeMeterTime::LifeMeterTime()
|
||||
{
|
||||
m_fLifeTotalGainedSeconds = 0;
|
||||
m_fLifeTotalLostSeconds = 0;
|
||||
m_pStream = NULL;
|
||||
}
|
||||
|
||||
LifeMeterTime::~LifeMeterTime()
|
||||
{
|
||||
delete m_pStream;
|
||||
}
|
||||
|
||||
void LifeMeterTime::Load( const PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats )
|
||||
|
||||
Reference in New Issue
Block a user