diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2012-06-07 12:21:43 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2012-06-07 12:28:06 +0200 |
commit | 59033928871c5d03f7a314eaffb75a6e991f718c (patch) | |
tree | fc4abbb5f9f2a97122a357b95723e60e5d07fe8b | |
parent | 56d5a57728d2fe1fc443c7de891cc130ade7c023 (diff) | |
download | NetworkManager-59033928871c5d03f7a314eaffb75a6e991f718c.tar.gz |
cli: free strings when printing adsl setting
-rw-r--r-- | cli/src/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/settings.c b/cli/src/settings.c index a57645960f..e67bd8f0af 100644 --- a/cli/src/settings.c +++ b/cli/src/settings.c @@ -1761,6 +1761,9 @@ setting_adsl_details (NMSettingAdsl *s_adsl, NmCli *nmc) nmc->print_fields.flags = multiline_flag | mode_flag | escape_flag | NMC_PF_FLAG_SECTION_PREFIX; print_fields (nmc->print_fields, nmc->allowed_fields); /* Print values */ + g_free ((char*) nmc->allowed_fields[3].value); + g_free ((char*) nmc->allowed_fields[4].value); + return TRUE; } |