Cleanup: rename BKE_libblock_free_us to BKE_id_free_us.
[blender.git] / source / blender / blenkernel / intern / collection.c
index bd7757a29c6b277c39a4df318be361ca0dcd7f90..e8e3b9229b67857304fe53f4cf841605560a8730 100644 (file)
@@ -534,7 +534,7 @@ static bool collection_object_remove(Main *bmain, Collection *collection, Object
        BKE_collection_object_cache_free(collection);
 
        if (free_us) {
-               BKE_libblock_free_us(bmain, ob);
+               BKE_id_free_us(bmain, ob);
        }
        else {
                id_us_min(&ob->id);