mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-31 14:33:50 +00:00
Refine auto block mechanism
This commit is contained in:
@@ -93,6 +93,8 @@ cache_delete(struct cache *cache, int keep_data)
|
||||
if (entry->data != NULL) {
|
||||
if (cache->free_cb) {
|
||||
cache->free_cb(entry->data);
|
||||
} else {
|
||||
ss_free(tmp->data);
|
||||
}
|
||||
}
|
||||
ss_free(entry->key);
|
||||
|
||||
Reference in New Issue
Block a user