diff --git a/crypto/err/err.c b/crypto/err/err.c
index b7ca3de..ab83e0e 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -340,6 +340,7 @@ static void int_thread_release(LHASH_OF(ERR_STATE) **hash)
 {
     int i;
 
+    if (hash) printf("Now using *hash (%p) in a comparison\n", (void*)*hash);
     if (hash == NULL || *hash == NULL)
         return;
 
@@ -403,6 +404,8 @@ static void int_thread_del_item(const ERR_STATE *d)
         if (int_thread_hash_references == 1
             && int_thread_hash
             && lh_ERR_STATE_num_items(int_thread_hash) == 0) {
+ if (hash == int_thread_hash)
+   printf("Now freeing hash == int_thread_hash == %p\n", (void*)hash);
             lh_ERR_STATE_free(int_thread_hash);
             int_thread_hash = NULL;
         }
