Skip to content

bridge: fix extra_vlan memory leak#56

Open
MattCatz wants to merge 1 commit intoopenwrt:masterfrom
MattCatz:master
Open

bridge: fix extra_vlan memory leak#56
MattCatz wants to merge 1 commit intoopenwrt:masterfrom
MattCatz:master

Conversation

@MattCatz
Copy link

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>
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

Comments