Removed memory leak in the ECDH code.