Commit 59033928 authored by Jiří Klimeš's avatar Jiří Klimeš

cli: free strings when printing adsl setting

parent 56d5a577
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment