Comment #2 on issue 1488 by
oriahulr...@microvu.com: Patch for
/training/cntraining.cpp
https://code.google.com/p/tesseract-ocr/issues/detail?id=1488
There is a memory leak with the cells in the lists in NormProtoList.. the
only thing FreeNormProtoList is doing is going through each list and
destroying said list (through free_cell) and freeing Label and then the
LabeledList container ultimately.. But it is NOT destroying the nodes in
each cell of the LabeledList's member list. See FreeProtoList for how it
should be done for each list in NormProtoList. Is this incorrect? Should I
spend the time to perform this correction?