memory leak fix

report
Marc Zinnschlag 10 years ago
parent 6e1a11f322
commit cbcd6a26d5

@ -686,6 +686,8 @@ bool CSMWorld::Data::continueLoading (CSMDoc::Stage::Messages& messages)
boost::shared_ptr<ESM::ESMReader> ptr(mReader);
mReaders.push_back(ptr);
}
else
delete mReader;
mReader = 0;

Loading…
Cancel
Save