mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 15:40:17 +01:00
cli: do not leave dangling pointers in a global struct
Makes Thomas content and happy..
This commit is contained in:
parent
e69d386975
commit
bf7529823e
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ nmc_cleanup (NmCli *nmc)
|
|||
if (nmc->pwds_hash)
|
||||
g_hash_table_destroy (nmc->pwds_hash);
|
||||
|
||||
g_free (nmc->required_fields);
|
||||
nm_clear_g_free (&nmc->required_fields);
|
||||
|
||||
if (nmc->pager_pid > 0) {
|
||||
fclose (stdout);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue