#include "wimlib/dentry.h"
#include "wimlib/encoding.h"
#include "wimlib/file_io.h"
#include "wimlib/integrity.h"
#include "wimlib/metadata.h"
#include "wimlib/security.h"
#include "wimlib/dentry.h"
#include "wimlib/encoding.h"
#include "wimlib/file_io.h"
#include "wimlib/integrity.h"
#include "wimlib/metadata.h"
#include "wimlib/security.h"
- wim->xml_info = xml_new_info_struct();
- wim->blob_table = new_blob_table(64);
- if (!wim->xml_info || !wim->blob_table) {
- wimlib_free(wim);
- return WIMLIB_ERR_NOMEM;
- }
-
- /* Fill in wim->hdr with default values */
+ /* Fill in wim->hdr with default values */
+ /* Allocate an empty XML info and blob table */
+ wim->xml_info = xml_new_info_struct();
+ wim->blob_table = new_blob_table(64);
+ if (!wim->xml_info || !wim->blob_table) {
+ wimlib_free(wim);
+ return WIMLIB_ERR_NOMEM;
+ }
+