diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-23 10:47:25 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-23 10:47:25 +0000 |
| commit | 1fcd640d3b78b7a6c7b5f6cfdaf3e0f0304b3b47 (patch) | |
| tree | 593a650d60b6bd61774449136daa7e245369881a /src/Request.cc | |
| parent | 198b87fa3e564f6df1df8cbf961d655a59216d78 (diff) | |
* AbstractCommand.cc: casted timeout value to long long int.
* ChunkedEncoding.cc: fixed memory leak.
* PeerInteractionCommand.cc: casted timeout value to long long
int.
* SleepCommand.cc: casted timeout value to long long int.
* Data.cc: fixed memory leak.
* Data.cc: fixed toLLInt().
* BitfieldMan.cc: fixed memory leak.
* TorrentMan.cc: initialized storeDir to ".".
* TorrentMan.cc: fixed memory leak.
* TorrentMan.cc: corrected file paths of splitted files.
* PeerAbstractCommand.cc: casted timeout to long long int.
* main.cc: added delete(req) and delete(te->diskWriter).
* RequestSlot.cc: casted timeout value to long long int.
* Request.cc: fixed memory leak.
* PendingMessage.cc: make HAVE messages sent only when peer does
not
have the piece.
* Peer.{h,cc}: added hasPiece(int index).
Diffstat (limited to 'src/Request.cc')
| -rw-r--r-- | src/Request.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Request.cc b/src/Request.cc index 91bd6d12..bc6e45d8 100644 --- a/src/Request.cc +++ b/src/Request.cc @@ -36,7 +36,9 @@ Request::Request():port(0), tryCount(0), isTorrent(false) { cookieBox = new CookieBox(); } -Request::~Request() {} +Request::~Request() { + delete cookieBox; +} bool Request::setUrl(string url) { this->url = url; |
