]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[IPV6] SYSCTL: Fix possible memory leakage in error path.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 27 Feb 2008 20:06:38 +0000 (12:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2008 20:06:38 +0000 (12:06 -0800)
commit3bdfe7ec08b4256121a8894cd978e74fcf7031d7
tree734669177b809129106d819a9ad86fe21c6d72b4
parentb37d428b24ad38034f56b614de05686ba151b614
[IPV6] SYSCTL: Fix possible memory leakage in error path.

In error path, we do need to free memory just allocated.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sysctl_net_ipv6.c