|
|
|
|
@ -36,6 +36,7 @@ InMemoryTar::~InMemoryTar() {
|
|
|
|
|
f = files.begin();
|
|
|
|
|
while (f != files.end()) {
|
|
|
|
|
InMemoryFile *imf = *f;
|
|
|
|
|
files.remove(*f);
|
|
|
|
|
delete imf;
|
|
|
|
|
f = files.begin();
|
|
|
|
|
}
|
|
|
|
|
@ -57,4 +58,4 @@ int InMemoryTar::FindFile(std::string file, InMemoryFile **imf) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|