diff options
-rw-r--r-- | lib/hivex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hivex.c b/lib/hivex.c index 8a774de..860c85c 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -534,6 +534,9 @@ hivex_close (hive_h *h) { int r; + if (h->msglvl >= 1) + fprintf (stderr, "hivex_close\n"); + free (h->bitmap); if (!h->writable) munmap (h->addr, h->size); @@ -543,9 +546,6 @@ hivex_close (hive_h *h) free (h->filename); free (h); - if (h->msglvl >= 1) - fprintf (stderr, "hivex_close\n"); - return r; } |