lima/ppir: fix pointer referenced after a free
Issue detected by valgrind.
Fixes: d7b3707c "util/disk_cache: use stat() to check if entry is a directory"
Signed-off-by: Patrick Lerda patrick9876@free.fr Reviewed-by: Qiang Yu yuq825@gmail.com
Edited by Patrick Lerda