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;)
Use of free instead of delete in bitcoinrpc.cpp #822
issue xanatos opened this issue on February 11, 2012-
xanatos commented at 11:29 AM on February 11, 2012: none
- sipa referenced this in commit 402deef944 on Feb 11, 2012
- sipa closed this on Feb 11, 2012
- sipa referenced this in commit b25474d1be on Feb 11, 2012
- coblee referenced this in commit cc735179a7 on Jul 17, 2012
- coblee referenced this in commit 3cd9445298 on Jul 17, 2012
- destenson referenced this in commit ee830eef06 on Jun 26, 2016
- lateminer referenced this in commit 2b8daac4c0 on Apr 6, 2019
- MarcoFalke locked this on Sep 8, 2021
Contributors