Browse Source

Merge commit '5b9ab72' into bfgminer

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

+ 1 - 1
util.h

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