mbpi_ap_free() should be called for all elements in the list.