Commit 49d4410c authored by wanghailong's avatar wanghailong

修改内存泄漏

parent 324a5ad1
...@@ -126,8 +126,6 @@ public: ...@@ -126,8 +126,6 @@ public:
//main founction of GMM //main founction of GMM
myGMM(double LearningRate); myGMM(double LearningRate);
~myGMM(){ ~myGMM(){
delete N_ptr->pixel_s;
delete N_ptr->pixel_r;
delete N_ptr; delete N_ptr;
}; };
void process(myImage * inputRGB, myImage * outputBIN); void process(myImage * inputRGB, myImage * outputBIN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment