Browse Source

Fix memory leaks.

Darryl Pogue 12 years ago
parent
commit
9a579d6af7
  1. 6
      Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp

6
Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp

@ -133,10 +133,10 @@ void plPageInfo::Read( hsStream *s )
if (version >= 5) if (version >= 5)
{ {
fLocation.Read( s ); fLocation.Read( s );
fAge = s->ReadSafeString(); fAge = s->ReadSafeString_TEMP();
if (version < 6) if (version < 6)
delete s->ReadSafeString(); // fChapter was never used, and always "District". s->ReadSafeString_TEMP(); // fChapter was never used, and always "District".
fPage = s->ReadSafeString(); fPage = s->ReadSafeString_TEMP();
s->ReadLE( &fMajorVersion ); s->ReadLE( &fMajorVersion );

Loading…
Cancel
Save