aboutsummaryrefslogtreecommitdiff
path: root/src/filter/route_filter_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter/route_filter_plugin.c')
-rw-r--r--src/filter/route_filter_plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filter/route_filter_plugin.c b/src/filter/route_filter_plugin.c
index 9ec30e69..5610220f 100644
--- a/src/filter/route_filter_plugin.c
+++ b/src/filter/route_filter_plugin.c
@@ -159,6 +159,8 @@ route_filter_parse(const struct config_param *param,
g_set_error(error_r, config_quark(), 1,
"Invalid copy around %d in routes spec: %s",
param->line, tokens[c]);
+ g_strfreev(sd);
+ g_strfreev(tokens);
return;
}
@@ -196,6 +198,8 @@ route_filter_parse(const struct config_param *param,
g_set_error(error_r, config_quark(), 1,
"Invalid copy around %d in routes spec: %s",
param->line, tokens[c]);
+ g_strfreev(sd);
+ g_strfreev(tokens);
return;
}