dmonitoringmodeld: fix memory leak (#1403)

old-commit-hash: ce4528c39219c203bc518d6ebd0d1d331b830d19
This commit is contained in:
Dean Lee
2020-04-21 00:23:23 +08:00
committed by GitHub
parent 83fde61d3b
commit 5564be35bf
+1
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;
}