Fix another SVN crash on failure.

This commit is contained in:
James Turner 2013-11-19 21:33:14 +00:00
parent 27063d0c32
commit dd367daac9

View File

@ -163,8 +163,10 @@ namespace { // anonmouse
virtual void onFail()
{
HTTP::Request::onFail();
_repo->propFindFailed(this, SVNRepository::SVN_ERROR_SOCKET);
_repo = NULL;
if (_repo) {
_repo->propFindFailed(this, SVNRepository::SVN_ERROR_SOCKET);
_repo = NULL;
}
}
private: