Leaks to Herald led to formal police complaint: inquiry