*/
/*
- * Copyright (C) 2012, 2013 Biggers
+ * Copyright (C) 2012, 2013 Eric Biggers
*
* wimlib - Library for working with WIM files
*
*/
#include "config.h"
+
+#include <errno.h>
+#include <fcntl.h>
#include <limits.h>
-#include <stdlib.h>
#include <stdarg.h>
-#include <errno.h>
-
-#include "dentry.h"
+#include <stdlib.h>
#include <unistd.h>
-#include <fcntl.h>
#ifdef WITH_NTFS_3G
-#include <time.h>
-#include <ntfs-3g/volume.h>
+# include <time.h>
+# include <ntfs-3g/volume.h>
+#endif
+
+#ifdef __WIN32__
+# include "win32.h"
#endif
-#include "wimlib_internal.h"
#include "buffer_io.h"
+#include "dentry.h"
#include "lookup_table.h"
+#include "wimlib_internal.h"
#include "xml.h"
static int image_print_metadata(WIMStruct *w)
* closes all files associated with the WIMStruct. */
WIMLIBAPI void wimlib_free(WIMStruct *w)
{
- DEBUG2("Freeing WIMStruct");
+ DEBUG("Freeing WIMStruct");
if (!w)
return;
}
#endif
FREE(w);
+ DEBUG("Freed WIMStruct");
}
/* Get global memory allocations out of the way. Not strictly necessary in