lima/ppir: fix pointer referenced after a free