mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 03:30:30 +01:00
util/disk_cache: Remove unneeded free() on always null string
At this point dc_job->cache_item_metadata.keys always equals NULL, so call to free() is useless Fixes:b86ecea344("util/disk_cache: write cache item metadata to disk") Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (cherry picked from commitb2490a326c)
This commit is contained in:
parent
1a79226d85
commit
cc91efb8b5
1 changed files with 0 additions and 1 deletions
|
|
@ -811,7 +811,6 @@ create_put_job(struct disk_cache *cache, const cache_key key,
|
|||
return dc_job;
|
||||
|
||||
fail:
|
||||
free(dc_job->cache_item_metadata.keys);
|
||||
free(dc_job);
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue