summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 776ad55..c12435c 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -215,6 +215,7 @@ rta_cow(void)
memcpy(f_rta_copy, (*f_rte)->attrs, sizeof(rta));
f_rta_copy->aflags = 0;
*f_rte = rte_cow(*f_rte);
+ rta_free((*f_rte)->attrs);
(*f_rte)->attrs = f_rta_copy;
}
}