missing cleanup
This commit is contained in:
@@ -202,6 +202,7 @@ int main(int argc, char** argv) {
|
|||||||
result = RESULT_ERR_NOTFOUND;
|
result = RESULT_ERR_NOTFOUND;
|
||||||
} else {
|
} else {
|
||||||
result = reader.readFromStream(stream, argv[argpos], time, false, nullptr, &errorDescription, false, &hash, &size);
|
result = reader.readFromStream(stream, argv[argpos], time, false, nullptr, &errorDescription, false, &hash, &size);
|
||||||
|
delete stream;
|
||||||
}
|
}
|
||||||
cout << argv[argpos] << " ";
|
cout << argv[argpos] << " ";
|
||||||
if (result != RESULT_OK) {
|
if (result != RESULT_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user