mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:18:43 +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 { \
|
||||
if ((v).data) { \
|
||||
free((v).data); \
|
||||
(v).data = NULL; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user