  
        LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last);
        last = t1;
      }
  
    }
  
    visionstream_destroy(&stream);
  
    dmonitoring_free(&dmonitoringmodel);
 
</s> remove   visionstream_destroy(&stream);

 </s> add  </s> remove   visionstream_destroy(&stream);

 </s> add  </s> remove         visionstream_destroy(&stream);
 </s> add  </s> remove         visionstream_destroy(&stream);
 </s> add 
    visionstream_destroy(&stream);
  
        LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last);
        last = t1;
      }
    visionstream_destroy(&stream);
    }
  
    visionstream_destroy(&stream);
  
    dmonitoring_free(&dmonitoringmodel);
keep keep keep keep replace keep keep keep keep keep
 fix bug that visionstream_destroy may be called twice (#1999) 
selfdrive/modeld/dmonitoringmodeld.cc