]> wimlib.net Git - wimlib/blobdiff - src/wim.c
Win32 capture
[wimlib] / src / wim.c
index 38792a59c7b406c114c9f8295cd405a5ad4ba37a..bd31c5b3ea9d1e1f1ee9e6ef262e502586988a5c 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -599,7 +599,7 @@ void destroy_image_metadata(struct wim_image_metadata *imd,
  * closes all files associated with the WIMStruct.  */
 WIMLIBAPI void wimlib_free(WIMStruct *w)
 {
-       DEBUG2("Freeing WIMStruct");
+       DEBUG("Freeing WIMStruct");
 
        if (!w)
                return;
@@ -635,6 +635,7 @@ WIMLIBAPI void wimlib_free(WIMStruct *w)
        }
 #endif
        FREE(w);
+       DEBUG("Freed WIMStruct");
 }
 
 /* Get global memory allocations out of the way.  Not strictly necessary in