-
Notifications
You must be signed in to change notification settings - Fork 36.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of free instead of delete in bitcoinrpc.cpp #822
Comments
sipa
pushed a commit
to sipa/bitcoin
that referenced
this issue
Feb 11, 2012
Fix bitcoin#822: use free instead of delete
coblee
referenced
this issue
in litecoin-project/litecoin
Jul 17, 2012
Fix #822: use free instead of delete
destenson
pushed a commit
to destenson/bitcoin--bitcoin
that referenced
this issue
Jun 26, 2016
37a934c [Core]: fix restart hanging during wallet-repair
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bitcoinrpc.cpp, line 1564. parg is freed through free (free(parg);), but it was allocated with new (line 1475 int* pnSleepTime = new int(params[1].get_int());). It is correct in line 1440 (delete (int*)parg;)
The text was updated successfully, but these errors were encountered: