mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-28 08:22:48 -05:00
Fixed errors found by static analysis
This commit is contained in:
@@ -123,6 +123,7 @@ static void getResults(JobBundle &bundle, std::vector<JobResult> &results, uint3
|
||||
RxDataset *dataset = Rx::dataset(bundle.job, 0);
|
||||
if (dataset == nullptr) {
|
||||
errors += bundle.nonces.size();
|
||||
delete memory;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user