diff options
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ void | |||
53 | bitmap_free(struct bitmap *b) | 53 | bitmap_free(struct bitmap *b) |
54 | { | 54 | { |
55 | if (b != NULL && b->d != NULL) { | 55 | if (b != NULL && b->d != NULL) { |
56 | memset(b->d, 0, b->len); | 56 | explicit_bzero(b->d, b->len); |
57 | free(b->d); | 57 | free(b->d); |
58 | } | 58 | } |
59 | free(b); | 59 | free(b); |