X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwim.c;h=bd31c5b3ea9d1e1f1ee9e6ef262e502586988a5c;hp=38792a59c7b406c114c9f8295cd405a5ad4ba37a;hb=ebd6c0ec0ff47ac18af4ef918fd78fb8d9f19540;hpb=c8b34bffb7884de559d6ac208e0bd982ea318a36 diff --git a/src/wim.c b/src/wim.c index 38792a59..bd31c5b3 100644 --- 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