You need to sign in or sign up before continuing.
  • E
    sanlock: fix memory leak · a55f1892
    Eric Blake 提交于
    Detected by Coverity.  The only way to get to error_unlink is if
    path was successfully assigned, so the if was useless.  Meanwhile,
    there was a return statement that did not free path.
    
    * src/locking/lock_driver_sanlock.c
    (virLockManagerSanlockSetupLockspace): Fix mem-leak, and drop
    useless if.
    a55f1892
lock_driver_sanlock.c 27.4 KB