Commit 7a3f78d7 authored by Beniamino Galvani's avatar Beniamino Galvani

ifcfg-rh: fix memory leak reading tc filters

Fixes: 902bbfdb ('ifcfg-rh: add tc support')
(cherry picked from commit 88e8f282)
(cherry picked from commit b1e00a58)
parent de644cd8
Pipeline #163061 failed with stage
in 6 minutes and 43 seconds
......@@ -2458,7 +2458,7 @@ make_tc_setting (shvarFile *ifcfg)
NMTCTfilter *tfilter = NULL;
gs_free char *value_to_free = NULL;
const char *value = NULL;
GError *local = NULL;
gs_free_error GError *local = NULL;
value = svGetValueStr (ifcfg, numbered_tag (tag, "FILTER", i), &value_to_free);
if (!value)
......
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