Fix coverity reports #34546 (dereference after null check) and #33208 (dereference null return)
Fix coverity reports #34546 (dereference after null check) and #33208 (dereference null return)


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@41262 27541ba8-7e3a-0410-8455-c3a389f83636

zzxuanyuan/root,0x0all/ROOT,gganis/root,bbockelm/root,evgeny-boger/root,mattkretz/root,tc3t/qoot,vukasinmilosevic/root,georgtroska/root,abhinavmoudgil95/root,simonpf/root,evgeny-boger/root,smarinac/root,dfunke/root,sawenzel/root,georgtroska/root,veprbl/root,karies/root,omazapa/root-old,mkret2/root,perovic/root,dfunke/root,root-mirror/root,smarinac/root,esakellari/root,omazapa/root,satyarth934/root,Y--/root,satyarth934/root,root-mirror/root,BerserkerTroll/root,gganis/root,georgtroska/root,beniz/root,satyarth934/root,krafczyk/root,cxx-hep/root-cern,bbockelm/root,simonpf/root,sawenzel/root,bbockelm/root,cxx-hep/root-cern,jrtomps/root,esakellari/root,simonpf/root,zzxuanyuan/root-compressor-dummy,mattkretz/root,kirbyherm/root-r-tools,tc3t/qoot,zzxuanyuan/root,krafczyk/root,georgtroska/root,karies/root,perovic/root,arch1tect0r/root,perovic/root,krafczyk/root,nilqed/root,abhinavmoudgil95/root,bbockelm/root,mattkretz/root,root-mirror/root,omazapa/root-old,gbitzes/root,georgtroska/root,evgeny-boger/root,georgtroska/root,buuck/root,beniz/root,mkret2/root,arch1tect0r/root,davidlt/root,sirinath/root,beniz/root,esakellari/root,BerserkerTroll/root,buuck/root,vukasinmilosevic/root,agarciamontoro/root,thomaskeck/root,simonpf/root,CristinaCristescu/root,Dr15Jones/root,sawenzel/root,gbitzes/root,karies/root,simonpf/root,pspe/root,buuck/root,cxx-hep/root-cern,nilqed/root,mattkretz/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,karies/root,Dr15Jones/root,gbitzes/root,thomaskeck/root,evgeny-boger/root,Y--/root,krafczyk/root,satyarth934/root,pspe/root,ffurano/root5,nilqed/root,0x0all/ROOT,zzxuanyuan/root,sbinet/cxx-root,kirbyherm/root-r-tools,sawenzel/root,smarinac/root,beniz/root,0x0all/ROOT,esakellari/root,jrtomps/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,agarciamontoro/root,Dr15Jones/root,vukasinmilosevic/root,davidlt/root,pspe/root,vukasinmilosevic/root,mkret2/root,root-mirror/root,cxx-hep/root-cern,bbockelm/root,gganis/root,lgiommi/root,thomaskeck/root,evgeny-boger/root,olifre/root,gbitzes/root,simonpf/root,mhuwiler/rootauto,georgtroska/root,arch1tect0r/root,cxx-hep/root-cern,simonpf/root,mhuwiler/rootauto,esakellari/my_root_for_test,omazapa/root-old,davidlt/root,dfunke/root,sawenzel/root,krafczyk/root,mkret2/root,perovic/root,buuck/root,arch1tect0r/root,Y--/root,mhuwiler/rootauto,CristinaCristescu/root,alexschlueter/cern-root,thomaskeck/root,beniz/root,thomaskeck/root,abhinavmoudgil95/root,davidlt/root,satyarth934/root,alexschlueter/cern-root,strykejern/TTreeReader,Duraznos/root,veprbl/root,omazapa/root,olifre/root,cxx-hep/root-cern,davidlt/root,gganis/root,vukasinmilosevic/root,ffurano/root5,bbockelm/root,sawenzel/root,pspe/root,root-mirror/root,sawenzel/root,root-mirror/root,mattkretz/root,krafczyk/root,krafczyk/root,CristinaCristescu/root,lgiommi/root,sbinet/cxx-root,dfunke/root,olifre/root,lgiommi/root,beniz/root,arch1tect0r/root,strykejern/TTreeReader,sbinet/cxx-root,esakellari/root,gganis/root,abhinavmoudgil95/root,kirbyherm/root-r-tools,CristinaCristescu/root,kirbyherm/root-r-tools,georgtroska/root,sirinath/root,sirinath/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,Duraznos/root,vukasinmilosevic/root,omazapa/root,perovic/root,bbockelm/root,evgeny-boger/root,vukasinmilosevic/root,jrtomps/root,abhinavmoudgil95/root,gbitzes/root,esakellari/root,mhuwiler/rootauto,Duraznos/root,satyarth934/root,kirbyherm/root-r-tools,sbinet/cxx-root,CristinaCristescu/root,nilqed/root,georgtroska/root,esakellari/my_root_for_test,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,omazapa/root,pspe/root,sbinet/cxx-root,Y--/root,omazapa/root-old,sirinath/root,mkret2/root,beniz/root,karies/root,lgiommi/root,jrtomps/root,root-mirror/root,arch1tect0r/root,mattkretz/root,karies/root,sirinath/root,mkret2/root,lgiommi/root,beniz/root,karies/root,mhuwiler/rootauto,mhuwiler/rootauto,CristinaCristescu/root,zzxuanyuan/root-compressor-dummy,nilqed/root,Duraznos/root,perovic/root,mkret2/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,omazapa/root,dfunke/root,smarinac/root,gganis/root,omazapa/root,sbinet/cxx-root,agarciamontoro/root,olifre/root,krafczyk/root,nilqed/root,sirinath/root,evgeny-boger/root,omazapa/root,vukasinmilosevic/root,CristinaCristescu/root,0x0all/ROOT,gbitzes/root,gganis/root,nilqed/root,evgeny-boger/root,tc3t/qoot,gganis/root,Dr15Jones/root,tc3t/qoot,karies/root,beniz/root,buuck/root,thomaskeck/root,tc3t/qoot,arch1tect0r/root,pspe/root,buuck/root,thomaskeck/root,krafczyk/root,arch1tect0r/root,Duraznos/root,omazapa/root,0x0all/ROOT,ffurano/root5,tc3t/qoot,thomaskeck/root,simonpf/root,satyarth934/root,ffurano/root5,alexschlueter/cern-root,mattkretz/root,sbinet/cxx-root,davidlt/root,smarinac/root,zzxuanyuan/root,0x0all/ROOT,nilqed/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,Dr15Jones/root,dfunke/root,root-mirror/root,dfunke/root,karies/root,tc3t/qoot,gbitzes/root,veprbl/root,jrtomps/root,perovic/root,alexschlueter/cern-root,davidlt/root,kirbyherm/root-r-tools,abhinavmoudgil95/root,0x0all/ROOT,nilqed/root,davidlt/root,abhinavmoudgil95/root,Dr15Jones/root,georgtroska/root,olifre/root,zzxuanyuan/root,sbinet/cxx-root,jrtomps/root,smarinac/root,krafczyk/root,mattkretz/root,mhuwiler/rootauto,Y--/root,veprbl/root,buuck/root,Y--/root,buuck/root,dfunke/root,omazapa/root-old,mkret2/root,mhuwiler/rootauto,kirbyherm/root-r-tools,pspe/root,lgiommi/root,mattkretz/root,mhuwiler/rootauto,buuck/root,zzxuanyuan/root-compressor-dummy,jrtomps/root,satyarth934/root,strykejern/TTreeReader,ffurano/root5,veprbl/root,buuck/root,sirinath/root,BerserkerTroll/root,CristinaCristescu/root,sirinath/root,agarciamontoro/root,mattkretz/root,ffurano/root5,zzxuanyuan/root,smarinac/root,0x0all/ROOT,BerserkerTroll/root,omazapa/root-old,lgiommi/root,pspe/root,zzxuanyuan/root-compressor-dummy,sawenzel/root,tc3t/qoot,beniz/root,krafczyk/root,agarciamontoro/root,davidlt/root,beniz/root,esakellari/root,arch1tect0r/root,lgiommi/root,omazapa/root,omazapa/root,jrtomps/root,CristinaCristescu/root,veprbl/root,gbitzes/root,strykejern/TTreeReader,Duraznos/root,agarciamontoro/root,esakellari/my_root_for_test,mhuwiler/rootauto,0x0all/ROOT,bbockelm/root,strykejern/TTreeReader,bbockelm/root,lgiommi/root,smarinac/root,CristinaCristescu/root,alexschlueter/cern-root,omazapa/root,strykejern/TTreeReader,lgiommi/root,dfunke/root,Y--/root,veprbl/root,evgeny-boger/root,veprbl/root,simonpf/root,root-mirror/root,CristinaCristescu/root,vukasinmilosevic/root,veprbl/root,Y--/root,omazapa/root-old,Duraznos/root,agarciamontoro/root,agarciamontoro/root,Duraznos/root,cxx-hep/root-cern,mattkretz/root,Y--/root,Y--/root,dfunke/root,dfunke/root,gganis/root,perovic/root,ffurano/root5,davidlt/root,sawenzel/root,abhinavmoudgil95/root,esakellari/root,root-mirror/root,sawenzel/root,satyarth934/root,olifre/root,esakellari/root,gganis/root,olifre/root,thomaskeck/root,mkret2/root,bbockelm/root,pspe/root,sirinath/root,evgeny-boger/root,omazapa/root-old,simonpf/root,tc3t/qoot,Dr15Jones/root,esakellari/my_root_for_test,BerserkerTroll/root,veprbl/root,lgiommi/root,pspe/root,esakellari/my_root_for_test,olifre/root,sbinet/cxx-root,esakellari/my_root_for_test,cxx-hep/root-cern,sirinath/root,esakellari/my_root_for_test,strykejern/TTreeReader,agarciamontoro/root,arch1tect0r/root,mkret2/root,zzxuanyuan/root,jrtomps/root,zzxuanyuan/root,abhinavmoudgil95/root,bbockelm/root,sbinet/cxx-root,omazapa/root-old,nilqed/root,perovic/root,satyarth934/root,olifre/root,Y--/root,agarciamontoro/root,BerserkerTroll/root,arch1tect0r/root,abhinavmoudgil95/root,zzxuanyuan/root,vukasinmilosevic/root,Duraznos/root,zzxuanyuan/root,BerserkerTroll/root,nilqed/root,zzxuanyuan/root,BerserkerTroll/root,sawenzel/root,esakellari/my_root_for_test,karies/root,satyarth934/root,gganis/root,BerserkerTroll/root,root-mirror/root,Duraznos/root,tc3t/qoot,BerserkerTroll/root,buuck/root,veprbl/root,smarinac/root,gbitzes/root,gbitzes/root,esakellari/my_root_for_test,perovic/root,alexschlueter/cern-root,jrtomps/root,georgtroska/root,vukasinmilosevic/root,karies/root,BerserkerTroll/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,jrtomps/root,mkret2/root,perovic/root,agarciamontoro/root,smarinac/root,pspe/root,mhuwiler/rootauto,sirinath/root,olifre/root,esakellari/root,esakellari/root,olifre/root,alexschlueter/cern-root,omazapa/root-old,davidlt/root,thomaskeck/root,simonpf/root