Merge pull request #6255 from mjstapp/fix_bitfield_free

lib: clear data pointer in bf_free
This commit is contained in:
Quentin Young 2020-04-17 20:17:18 -04:00 committed by GitHub
commit 1be1ca35c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,7 @@ typedef unsigned int word_t;
do { \
if ((v).data) { \
free((v).data); \
(v).data = NULL; \
} \
} while (0)