Skip to content

bridge: fix extra_vlan memory leak - #56

Closed
MattCatz wants to merge 1 commit into
openwrt:masterfrom
MattCatz:master
Closed

MattCatz wants to merge 1 commit into
openwrt:masterfrom
MattCatz:master

Conversation

@MattCatz

Copy link
Copy Markdown

Minor memory leak.

Memory is sometimes allocated here:

netifd/bridge.c

Line 463 in 2a85440

bm->extra_vlan = realloc(bm->extra_vlan, n_vlans * sizeof(*bm->extra_vlan));

Signed-off-by: Matthew Cather <mattbob4@gmail.com>
@MattCatz MattCatz closed this Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant