mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 02:47:56 +08:00
fixed one bug in token_tree's destructor
This commit is contained in:
parent
c9e5e010a7
commit
eca1d07747
@ -39,7 +39,9 @@ token_tree::token_tree(void)
|
||||
token_tree::~token_tree(void)
|
||||
{
|
||||
acl_token_tree_destroy(tree_);
|
||||
delete iter_;
|
||||
if (iter_) {
|
||||
acl_myfree(iter_);
|
||||
}
|
||||
}
|
||||
|
||||
bool token_tree::insert(const char* key, void* ctx)
|
||||
|
@ -1,4 +1,4 @@
|
||||
%define release_id 15
|
||||
%define release_id 16
|
||||
|
||||
Summary: The powerful c/c++ library and server framework
|
||||
Name: acl-libs
|
||||
@ -133,6 +133,9 @@ fi
|
||||
|
||||
%changelog
|
||||
|
||||
* Mon Aug 20 2018 zhengshuxin@qiyi.com 3.4.1-16-20180820.10
|
||||
- fixed one bug in token_tree's destructor
|
||||
|
||||
* Sun Aug 19 2018 zhengshuxin@qiyi.com 3.4.1-15-20180819.15
|
||||
- lib_acl_cpp: add token_tree class
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user