]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Add check for NULL obj before call Unlock
authorJohn Ferlan <jferlan@redhat.com>
Wed, 28 Jun 2017 10:54:05 +0000 (06:54 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 28 Jun 2017 13:03:07 +0000 (09:03 -0400)
commit045b75c51540fd27eedf79673a0bd2b41dbd535e
tree629061692c4e209b4643de8c75eb4ec7ca0ce267
parentb183f17d76839587cbe411f4e12beca18d3ec702
nodedev: Add check for NULL obj before call Unlock

Commit id '95ea171b' was a bit too aggressive in removing the if (obj)
check since cleanup is reachable after Unlock and obj = NULL.
src/node_device/node_device_driver.c