bitcoin/bitcoin — Issue #822: Use of free instead of delete in bitcoinrpc.cpp
Author: xanatos
Created: 2012-02-11 11:29:26+00:00
State: open

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;)