samples/cpp/letter_recog.cpp, mismatch in new/delete (Bug #1666)


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


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

0%

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

Description

Line 93 calls

delete el_ptr

but el_ptre is declared as an array in line 52, el_ptr = new float[var_count+1], so it should be

delete [] el_ptr


Associated revisions

Revision 082e9881
Added by Marina Kolpakova almost 13 years ago

Fixed bug #1666

Revision a549621a
Added by Roman Donchenko over 11 years ago

Merge pull request #1666 from SpecLad:cv-cap-openni

History

Updated by Marina Kolpakova almost 13 years ago

  • Status changed from Open to Done

Updated by Marina Kolpakova almost 13 years ago

  • Target version set to 2.4.0
  • Assignee set to Marina Kolpakova

Also available in: Atom PDF