mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-04-24 09:56:36 +02:00
free memory
This commit is contained in:
parent
64f805e615
commit
cb2a965907
1 changed files with 8 additions and 1 deletions
|
@ -191,12 +191,19 @@ Orignal is sensei of crypto ;)
|
|||
std::cout << "Address found " << addr << " in " << id_thread << std::endl;
|
||||
found=true;
|
||||
FoundNonce=*nonce;
|
||||
free(hash);
|
||||
free(b);
|
||||
return true;
|
||||
}
|
||||
|
||||
(*nonce)++;
|
||||
hashescounter++;
|
||||
if (found) break;
|
||||
if (found){
|
||||
free(hash);
|
||||
free(b);
|
||||
break;
|
||||
}
|
||||
|
||||
}//while
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue