Add debug output to hivex_close.
authorMatthew Booth <mbooth@redhat.com>
Fri, 13 Aug 2010 16:44:28 +0000 (17:44 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 13 Aug 2010 16:44:28 +0000 (17:44 +0100)
lib/hivex.c

index 13d7556..8a774de 100644 (file)
@@ -543,6 +543,9 @@ hivex_close (hive_h *h)
   free (h->filename);
   free (h);
 
+  if (h->msglvl >= 1)
+    fprintf (stderr, "hivex_close\n");
+
   return r;
 }