util/disk_cache: Remove unneeded free() on always null string
authorVadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Mon, 4 Dec 2017 09:47:33 +0000 (11:47 +0200)
committerEric Engestrom <eric.engestrom@imgtec.com>
Thu, 7 Dec 2017 11:50:41 +0000 (11:50 +0000)
commitb2490a326c28652b85400da0e1bbff108167d140
tree65f6954a4620a03dc830685610d3d4cd7e8c88cd
parent392638d6b549dbed85ed2a82fa41d38336ac9938
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: b86ecea3446 ("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>
src/util/disk_cache.c