From: Julia Lawall Date: Thu, 11 Aug 2011 00:06:04 +0000 (+0000) Subject: net/netlabel/netlabel_kapi.c: add missing cleanup code X-Git-Tag: v3.1-rc2~19^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a80d63b245c66745c1d72b8154f67b597e3b89;p=pandora-kernel.git net/netlabel/netlabel_kapi.c: add missing cleanup code Call cipso_v4_doi_putdef in the case of the failure of the allocation of entry. Reverse the order of the error handling code at the end of the function and insert more labels in order to reduce the number of unnecessary calls to kfree. Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed