commit | 94a80d63b245c66745c1d72b8154f67b597e3b89 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Thu Aug 11 00:06:04 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 11 05:52:57 2011 -0700 |
tree | ea0e55809b0223d0d7c5ded4cf37c99bd3429f56 | |
parent | 2eed7982d76f3a1627ba6536128a64b8e66ad189 [diff] |
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 <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>