net/flow: Fix potential memory leak
authorhuajun li <huajun.li.lee@gmail.com>
Tue, 27 Sep 2011 22:51:39 +0000 (22:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2011 23:18:42 +0000 (19:18 -0400)
commit6ccc3abdc97e07e6895323fdab89f84e58b40ece
treef67e421a3bfe38fe616ad5267acd7c28f3657db9
parente6f8aa9b90dbb9dbe56e493b91132ced26eaaf81
net/flow: Fix potential memory leak

While preparing net flow caches, once a fail may cause potential
memory leak , fix it.

Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow.c