Corrected initialization of smart pointer.

This commit is contained in:
Olexa Bilaniuk 2015-03-06 09:15:00 -05:00
parent 52e67c1a29
commit fcdbacdbb0

View File

@ -462,7 +462,7 @@ Ptr<RHO_HEST> rhoInit(void){
/* Initialize it. */
if(p){
if(!p->initialize()){
p = Ptr<RHO_HEST>((RHO_HEST*)NULL);
p.release();
}
}