Skip to content

windows: Fix memory leak in enumerate_hub_ports function#23

Open
maciekspy wants to merge 1 commit intosigrokproject:masterfrom
maciekspy:fix-memleak-windows-enumerate_hub_ports
Open

windows: Fix memory leak in enumerate_hub_ports function#23
maciekspy wants to merge 1 commit intosigrokproject:masterfrom
maciekspy:fix-memleak-windows-enumerate_hub_ports

Conversation

@maciekspy
Copy link

This addresses a memory leak in enumerate_hub_ports where ext_hub_name was not freed after being allocated by get_external_hub_name().
Added a missing free(ext_hub_name);.

Variable `PCHAR ext_hub_name` is not freed after use.
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