Verified Commit f59af102 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Thomas Haller

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)
(cherry picked from commit 7a3f78d7)
parent cde95a3c
......@@ -2412,7 +2412,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