Skip to content

Commit

Permalink
wpa_supplicant: Add missing free of wpa-nif properties
Browse files Browse the repository at this point in the history
  • Loading branch information
cfconrad committed Jun 28, 2022
1 parent 09ebe0a commit 514f626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wpa-supplicant.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,10 +672,12 @@ ni_wpa_nif_properties_destroy(ni_wpa_nif_properties_t *properties)
ni_string_free(&properties->ifname);
ni_string_free(&properties->bridge);
ni_string_free(&properties->driver);
ni_string_free(&properties->country);
ni_string_free(&properties->current_network_path);
ni_string_free(&properties->current_bss_path);
ni_string_array_destroy(&properties->network_paths);
ni_string_array_destroy(&properties->bss_paths);
ni_string_free(&properties->current_auth_mode);

ni_wpa_nif_properties_init(properties);
}
Expand Down

0 comments on commit 514f626

Please sign in to comment.