diff options
| author | Jesper Juhl <jj@chaosbits.net> | 2011-01-24 00:40:42 +0300 |
|---|---|---|
| committer | James Morris <jmorris@namei.org> | 2011-01-24 02:59:58 +0300 |
| commit | 5403110943a2dcf1f96416d7a412a8b46895facd (patch) | |
| tree | 48e3501e71511200c911315b8bdffde4788d357d /net/unix/sysctl_net_unix.c | |
| parent | 7f3c68bee977ab872827e44de017216736fe21d7 (diff) | |
| download | linux-5403110943a2dcf1f96416d7a412a8b46895facd.tar.xz | |
trusted keys: Fix a memory leak in trusted_update().
One failure path in security/keys/trusted.c::trusted_update() does
not free 'new_p' while the others do. This patch makes sure we also free
it in the remaining path (if datablob_parse() returns different from
Opt_update).
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
