diff options
| author | 2018-08-05 13:07:35 -0700 | |
|---|---|---|
| committer | 2018-08-08 11:20:06 +0200 | |
| commit | a81d678949471d5b7f399cfcf2e48e0382427805 (patch) | |
| tree | 669e5a74bc7885ad1bc34a570d6fbcdc7a979071 /kernel/sysctl_binary.c | |
| parent | staging: erofs: fix if assignment style issue (diff) | |
staging: gasket: sysfs: clean up state if ENOMEM removing mapping
If kcalloc() returns NULL in put_mapping(), continue to clean up state,
including dropping the reference on the struct device and free attribute
memory.
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
