diff options
Diffstat (limited to '')
-rw-r--r-- | lib/bitfield.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bitfield.h b/lib/bitfield.h index cc8c31141..3fda627b7 100644 --- a/lib/bitfield.h +++ b/lib/bitfield.h @@ -116,6 +116,7 @@ DECLARE_MTYPE(BITFIELD); (v).m = (v).m + 1; \ (v).data = XREALLOC(MTYPE_BITFIELD, (v).data, \ (v).m * sizeof(word_t)); \ + (v).data[(v).m - 1] = 0; \ } \ } while (0) |