vserver 2.0 rc7
[linux-2.6.git] / net / sched / ipt.c
index 886f463..b114d99 100644 (file)
@@ -284,10 +284,12 @@ tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
        tm.lastuse = jiffies_to_clock_t(jiffies - p->tm.lastuse);
        tm.expires = jiffies_to_clock_t(p->tm.expires);
        RTA_PUT(skb, TCA_IPT_TM, sizeof (tm), &tm);
+       kfree(t);
        return skb->len;
 
       rtattr_failure:
        skb_trim(skb, b - skb->data);
+       kfree(t);
        return -1;
 }