diff options
author | Max Kellermann <max@duempel.org> | 2014-12-14 15:09:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-14 15:16:01 +0100 |
commit | 4b8d258cff85678c7ac90c03e337f9316e1f7b98 (patch) | |
tree | 6b33c21f6f2506262753790b94d857a322b21b61 /src/command/StorageCommands.hxx | |
parent | 3c29aa62713126ebe8cc6f020fe8d896b7164ae3 (diff) | |
download | mpd-4b8d258cff85678c7ac90c03e337f9316e1f7b98.tar.gz mpd-4b8d258cff85678c7ac90c03e337f9316e1f7b98.tar.xz mpd-4b8d258cff85678c7ac90c03e337f9316e1f7b98.zip |
lib/nfs/Connection: fix crash while canceling a failing Open()
The method NfsConnection::CancellableCallback::Callback() will always
invoke NfsConnection::Close() on the file handle, even if the void
pointer is not a nfsfh. This can happen if the Open() was not
successful, e.g. when the file does not exist.
Diffstat (limited to 'src/command/StorageCommands.hxx')
0 files changed, 0 insertions, 0 deletions