diff options
author | Julia Lawall <julia@diku.dk> | 2011-08-11 00:06:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-11 05:52:57 -0700 |
commit | 94a80d63b245c66745c1d72b8154f67b597e3b89 (patch) | |
tree | ea0e55809b0223d0d7c5ded4cf37c99bd3429f56 /block/bsg.c | |
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>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions