Browse Source

Merge commit '5b9ab72' into bfgminer-4.7.x

Luke Dashjr 11 years ago
parent
commit
128702677e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util.h

+ 1 - 1
util.h

@@ -631,7 +631,7 @@ static inline
 void bytes_free(bytes_t *b)
 {
 	free(b->buf);
-	b->sz = b->allocsz = 0;
+	bytes_init(b);
 }