diff --git a/selfdrive/modeld/dmonitoringmodeld.cc b/selfdrive/modeld/dmonitoringmodeld.cc index 0bed9cc156ff54..ba69e5f539b6c5 100644 --- a/selfdrive/modeld/dmonitoringmodeld.cc +++ b/selfdrive/modeld/dmonitoringmodeld.cc @@ -70,6 +70,7 @@ int main(int argc, char **argv) { dmonitoringmodel.is_rhd = event.getDMonitoringState().getIsRHD(); dmonitoringmodel.is_rhd_checked = event.getDMonitoringState().getRhdChecked(); + delete msg; } chk_counter = 0; }