diff --git a/common/io/buffered_reader.go b/common/io/buffered_reader.go
index 9c08ace1..92c45f46 100644
--- a/common/io/buffered_reader.go
+++ b/common/io/buffered_reader.go
@@ -22,6 +22,8 @@ func NewBufferedReader(rawReader io.Reader) *BufferedReader {
 
 func (this *BufferedReader) Release() {
 	this.buffer.Release()
+	this.buffer = nil
+	this.reader = nil
 }
 
 func (this *BufferedReader) Cached() bool {
diff --git a/common/io/buffered_writer.go b/common/io/buffered_writer.go
index e9082839..e7652521 100644
--- a/common/io/buffered_writer.go
+++ b/common/io/buffered_writer.go
@@ -60,4 +60,6 @@ func (this *BufferedWriter) SetCached(cached bool) {
 
 func (this *BufferedWriter) Release() {
 	this.buffer.Release()
+	this.buffer = nil
+	this.writer = nil
 }