]> wimlib.net Git - wimlib/blobdiff - src/mount_image.c
xml.c: refactor to use document tree
[wimlib] / src / mount_image.c
index aaad08c3ca2b7a5a16a354fdf22a47150d5773bb..83f176a12ce59d440350cdf0f9337befa0ce0da0 100644 (file)
@@ -1061,7 +1061,7 @@ renew_current_image(struct wimfs_context *ctx)
        if (ret)
                goto err_free_new_blob;
 
-       ret = xml_add_image(wim, "");
+       ret = xml_add_image(wim->xml_info, NULL);
        if (ret)
                goto err_undo_append;