diff options
Diffstat (limited to 'src/FileAllocationEntry.cc')
| -rw-r--r-- | src/FileAllocationEntry.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc index 77690475..80809030 100644 --- a/src/FileAllocationEntry.cc +++ b/src/FileAllocationEntry.cc @@ -33,9 +33,16 @@ */ /* copyright --> */ #include "FileAllocationEntry.h" +#include "DownloadCommand.h" #define BUFSIZE 16*1024 +FileAllocationEntry::~FileAllocationEntry() +{ + --_requestGroup->numConnection; + delete _nextDownloadCommand; +} + void FileAllocationEntry::allocateChunk() { int32_t bufSize = BUFSIZE; |
