Corrected initialization of smart pointer.

pull/3670/head
Olexa Bilaniuk 10 years ago
parent 52e67c1a29
commit fcdbacdbb0
  1. 2
      modules/calib3d/src/rho.cpp

@ -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();
}
}

Loading…
Cancel
Save