mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 22:25:41 +00:00
Merge pull request #6255 from mjstapp/fix_bitfield_free
lib: clear data pointer in bf_free
This commit is contained in:
commit
1be1ca35c7
@ -154,6 +154,7 @@ typedef unsigned int word_t;
|
|||||||
do { \
|
do { \
|
||||||
if ((v).data) { \
|
if ((v).data) { \
|
||||||
free((v).data); \
|
free((v).data); \
|
||||||
|
(v).data = NULL; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user