-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leaks in pioc_w network driver
Fixes a leak in `get_default_device_name()`, if the driver if stopped the memory holding the device name is never free'd. This could be especially problematic if the driver is stopped and restarted multiple times, as may be the case with a battery powered device. Fixes a potential memory leak of `psk` used for the ap if the given `psk` is invalid due to not meeting the minimum size requirement. Signed-off-by: Winford <winford@object.stream>
- Loading branch information
1 parent
db19c2c
commit c6141ed
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters