From bccf526c3ec8f21f232934d839ef2af408baecde Mon Sep 17 00:00:00 2001
From: Gerardo Ganis <Gerardo.Ganis@cern.ch>
Date: Mon, 14 Jul 2008 17:27:28 +0000
Subject: [PATCH] Add missing protection

git-svn-id: http://root.cern.ch/svn/root/trunk@24822 27541ba8-7e3a-0410-8455-c3a389f83636
---
 proof/proofx/src/TXProofMgr.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proof/proofx/src/TXProofMgr.cxx b/proof/proofx/src/TXProofMgr.cxx
index e2bc8851ec9..8b862163e45 100644
--- a/proof/proofx/src/TXProofMgr.cxx
+++ b/proof/proofx/src/TXProofMgr.cxx
@@ -79,6 +79,7 @@ Int_t TXProofMgr::Init(Int_t)
    // even when it matches the default value
    TString u = fUrl.GetUrl(kTRUE);
 
+   fSocket = 0;
    if (!(fSocket = new TXSocket(u, 'C', kPROOF_Protocol,
                                 kXPROOF_Protocol, 0, -1, this)) ||
        !(fSocket->IsValid())) {
-- 
GitLab