mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 16:32:06 +08:00
dmonitoringmodeld: fix memory leak (#1403)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user