diff options
author | 2018-11-13 20:39:50 +0300 | |
---|---|---|
committer | 2018-11-13 11:41:09 -0600 | |
commit | 58a923adf4d9aca8bf7205985c9c8fc531c65d72 (patch) | |
tree | f7f990636dac9f01fb3ec3f42387e07adb9d1f33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dlm: Don't swamp the CPU with callbacks queued during recovery (diff) | |
download | linux-rng-58a923adf4d9aca8bf7205985c9c8fc531c65d72.tar.xz linux-rng-58a923adf4d9aca8bf7205985c9c8fc531c65d72.zip |
dlm: fix possible call to kfree() for non-initialized pointer
Technically dlm_config_nodes() could return error and keep nodes
uninitialized. After that on the fail path of we'll call kfree()
for that uninitialized value.
The patch is simple - we should just initialize nodes with NULL.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions