lv_cache_release() function
Release a cache entry. The `lv_cache_entry_t::ref_cnt` will be decremented. If the `lv_cache_entry_t::ref_cnt` is zero, it will issue an error. If the entry passed to this function is the last reference to the data and the entry is marked as invalid, the cache's policy will be used to evict the entry.
Arguments
cache
The cache object pointer to release the entry.
entry
The cache entry pointer to release.
user_data
A user data pointer that will be passed to the free callback.