X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwim.c;h=bd31c5b3ea9d1e1f1ee9e6ef262e502586988a5c;hb=f389abff995f590fd762777e302f99a413521765;hp=38792a59c7b406c114c9f8295cd405a5ad4ba37a;hpb=9e56d04309e3e6a896319225288f0c86bd36d34e;p=wimlib 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