Commit b1e00a58 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)
parent 5e5f7574
Pipeline #163056 passed with stage
in 39 minutes and 4 seconds
......@@ -2479,7 +2479,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