svn merge ^/trunk/blender -r42261:42290
[blender.git] / source / blender / blenkernel / intern / library.c
index 7a4780eb984ad84bd74805bfc159cfc0c3ad75f0..28524668bd3af0c8a8f36bf8aeea1a1c0480c424 100644 (file)
@@ -808,7 +808,7 @@ void free_libblock(ListBase *lb, void *idv)
                        free_object((Object *)id);
                        break;
                case ID_ME:
                        free_object((Object *)id);
                        break;
                case ID_ME:
-                       free_mesh((Mesh *)id);
+                       free_mesh((Mesh *)id, 1);
                        break;
                case ID_CU:
                        free_curve((Curve *)id);
                        break;
                case ID_CU:
                        free_curve((Curve *)id);