Use list_replace() instead of list_transfer()
[wimlib] / src / split.c
index 3f4a7d0a87a170805de89b7cf2072962a6396d67..6124a67da81c09317ca5c2ba993c05cb4f6e3067 100644 (file)
@@ -44,7 +44,7 @@ struct swm_part_info {
 static void
 copy_part_info(struct swm_part_info *dst, struct swm_part_info *src)
 {
-       list_transfer(&src->blob_list, &dst->blob_list);
+       list_replace(&src->blob_list, &dst->blob_list);
        dst->size = src->size;
 }