yes documentation states that it is newly created. Furthermore the error handling including the free is in line with teh API example in hwloc doc