Fix leak in get_index_output_from_riack_string_list