netfilter: xt_CT: fix missing put timeout object in error path
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 3 Apr 2012 12:50:07 +0000 (14:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Apr 2012 23:18:21 +0000 (19:18 -0400)
commitee14186f8d2338227888f3c00a06caf31f94de38
tree996690f4f36657854326b0cf2ae0ed27fdabc38c
parentca53e4405347a1e19eaf59c757ceaaaa1a784758
netfilter: xt_CT: fix missing put timeout object in error path

The error path misses putting the timeout object. This patch adds
new function xt_ct_tg_timeout_put() to put the timeout object.

Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_CT.c