fix RHD memory leak

old-commit-hash: 6c5080fa9860dbdfc6b97febc85ad1b537e42df9
This commit is contained in:
ZwX1616
2020-04-16 17:31:59 -07:00
committed by GitHub
parent 53768d2841
commit f1a05ef594
+1
View File
@@ -71,6 +71,7 @@ DMonitoringResult dmonitoring_eval_frame(DMonitoringModelState* s, void* stream_
cropped_u_buf, cropped_width/2,
cropped_v_buf, cropped_width/2,
cropped_width, cropped_height);
delete[] premirror_cropped_buf;
}
uint8_t *resized_buf = new uint8_t[resized_width*resized_height*3/2];