mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
dmonitoringmodeld: fix memory leak (#1403)
old-commit-hash: ce4528c39219c203bc518d6ebd0d1d331b830d19
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