From fe7e74d225333b735b2fef8154982f40a3ac2c9e Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Mon, 9 Jul 2018 10:37:05 +0800 Subject: [PATCH] remove debug log --- cipher.go | 2 +- hash.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cipher.go b/cipher.go index 14feefe..08e7437 100644 --- a/cipher.go +++ b/cipher.go @@ -147,7 +147,7 @@ func (c *Cipher) Close() error { } func (c *Cipher) free() { - log.Println("free cipher") + //log.Println("free cipher") c.Close() } diff --git a/hash.go b/hash.go index 5d83121..3270a13 100644 --- a/hash.go +++ b/hash.go @@ -7,7 +7,6 @@ package gnutls import "C" import ( "fmt" - "log" "runtime" ) @@ -79,7 +78,7 @@ func (h *Hash) Close() error { return nil } func (h *Hash) free() { - log.Println("free hash") + //log.Println("free hash") h.Close() }