Browse Source

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

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

+ 1 - 1
util.h

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