summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-04-16 17:08:07 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-04-16 17:08:07 +0300
commit91df49e187c1a111e423fe0c3aec3472980385e4 (patch)
tree786597fa6d24906c9e8e4dcc9ebca992848d0e1f /kernel/locking
parenta5220e7d2e1b13e62c0d5eab3fbfaef401186e3b (diff)
parent6cdbc07a5adc376104cb4d56eff2d4eb58bcfac7 (diff)
downloadlinux-91df49e187c1a111e423fe0c3aec3472980385e4.tar.xz
Merge LKMM and RCU commits
Diffstat (limited to 'kernel/locking')
-rw-r--r--kernel/locking/locktorture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index ad40a2617063..80a463d31a8d 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -829,7 +829,9 @@ static void lock_torture_cleanup(void)
"End of test: SUCCESS");
kfree(cxt.lwsa);
+ cxt.lwsa = NULL;
kfree(cxt.lrsa);
+ cxt.lrsa = NULL;
end:
torture_cleanup_end();