From: Eric Biggers Date: Sat, 11 May 2013 06:12:41 +0000 (-0500) Subject: wimlib_update_image(): Call xml_update_image_info() X-Git-Tag: v1.4.0~111 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=67882cb569aa0b922dc13df7eb7c748f2045c7cf;hp=bb40342796df9c677f6903b596abf4e9e5769845 wimlib_update_image(): Call xml_update_image_info() --- diff --git a/src/update_image.c b/src/update_image.c index ce77c688..d37c9146 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -25,6 +25,7 @@ #include "dentry.h" #include "lookup_table.h" #include "security.h" +#include "xml.h" #include /* Creates a new directory to place in the WIM image. This is to create parent @@ -706,7 +707,9 @@ wimlib_update_image(WIMStruct *wim, DEBUG("Executing update commands"); ret = execute_update_commands(wim, cmds_copy, num_cmds, progress_func); - + if (ret) + goto out_free_cmds_copy; + xml_update_image_info(wim, wim->current_image); out_free_cmds_copy: free_update_commands(cmds_copy, num_cmds); out: