Commit 98293f20513b645dc69905e406be5e125fbd00c3

Authored by Hu Chunming
1 parent 9debcfaf

修复显存泄露导致崩溃问题

Showing 1 changed file with 2 additions and 2 deletions
src/PicAnalysis.cpp
... ... @@ -294,8 +294,8 @@ vector<AnalysisResult> PicAnalysis::analysis_img(vector<sy_img> vec_img){
294 294 }
295 295 }
296 296 }
297   -
298   -
  297 + delete vehicle_data;
  298 + vehicle_data = nullptr;
299 299 }
300 300  
301 301 // 司乘
... ...