diff options
| author | Todd Poynor <toddpoynor@google.com> | 2018-08-05 13:07:35 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-08 11:20:06 +0200 |
| commit | a81d678949471d5b7f399cfcf2e48e0382427805 (patch) | |
| tree | 669e5a74bc7885ad1bc34a570d6fbcdc7a979071 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | 2bc7596438aba6d9eacc4fdfac8dd8b22ae4a267 (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 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
