mirror of https://github.com/aria2/aria2
2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Clear table item. * src/Dictionary.ccpull/1/head
parent
8503419ae3
commit
df9d042d25
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Clear table item.
|
||||||
|
* src/Dictionary.cc
|
||||||
|
|
||||||
2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Fixed error handling of lseek.
|
Fixed error handling of lseek.
|
||||||
|
|
|
@ -49,6 +49,7 @@ void Dictionary::clearTable() {
|
||||||
itr != table.end(); itr++) {
|
itr != table.end(); itr++) {
|
||||||
delete itr->second;
|
delete itr->second;
|
||||||
}
|
}
|
||||||
|
table.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
const MetaEntry* Dictionary::get(const std::string& name) const {
|
const MetaEntry* Dictionary::get(const std::string& name) const {
|
||||||
|
|
Loading…
Reference in New Issue