diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c index ad99a99f11f6de4ad452b501aa8b23a01f156790..ca535a8585bc893fb4df0ae1b2dbad85c0fd9052 100644 --- a/net/sched/act_pedit.c +++ b/net/sched/act_pedit.c @@ -201,7 +201,8 @@ static int tcf_pedit_init(struct net *net, struct nlattr *nla, goto out_release; } } else { - return err; + ret = err; + goto out_free; } p = to_pedit(*a);