cppcheck: lsvmparser.cpp, missing fclose() (Bug #1662)


Added by Nghia Ho about 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-03-08
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

Category:objdetect
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In function

int LSVMparser(const char * filename, CvLSVMFilterObject *** model, int *last, int *max, int **comp, float **b, int *count, float * score)

fclose(xmlf); is missing at the end of the function


Related issues

duplicates Feature #1390: Resource leak in lsvmparser.cpp Done

History

Updated by Marina Kolpakova almost 13 years ago

Duplicate of #1390.

  • Status changed from Open to Cancelled
  • Target version set to 2.4.0
  • Category set to objdetect
  • Assignee set to Marina Kolpakova

Also available in: Atom PDF