dmonitoringmodeld: fix memory leak (#1403)

albatross
Dean Lee 2020-04-21 00:23:23 +08:00 committed by GitHub
parent 25ab2521ab
commit ce4528c392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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