Skip to content

Commit

Permalink
[nfs] - don't close invalid handles when openforoverwrite fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Aug 16, 2012
1 parent 976d869 commit cb8adaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/filesystem/NFSFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ bool CNFSFile::OpenForWrite(const CURL& url, bool bOverWrite)
if(ret == 0)
{
gNfsConnection.GetImpl()->nfs_close(m_pNfsContext,m_pFileHandle);
m_pFileHandle = NULL;
}
}

Expand Down

0 comments on commit cb8adaa

Please sign in to comment.