bdb frees on its own
This commit is contained in:
parent
e6666d6c7a
commit
11838b31df
@ -358,7 +358,7 @@ int cache_lookup(verify_container_handle_t *vch, const char* address, int *resul
|
||||
res = 0;
|
||||
} else {
|
||||
syslog(LOG_DEBUG, "cache_lookup: expired, will be deleted from cache");
|
||||
free(data.dptr);
|
||||
/* free(data.dptr); --- Berkeley DB frees on its own */
|
||||
dbm_close(cache);
|
||||
|
||||
pthread_mutex_lock(vch->cache_mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user