Have you ever check colorer src with static code analyzer?
It's result of cppcheck ():
- Colorer-take5.be5\Colorer-take5.be5\src\hrdsets\hrdsets.cpp:81]:
(error) Resource leak: file
- Colorer-take5.be5\Colorer-take5.be5\src\pcolorer\FarEditorSet.cpp:207]:
(error) Possible null pointer
dereference: type - otherwise it is
redundant to check if type is null at
line 208
- Colorer-take5.be5\Colorer-take5.be5\src\shared\unicode\CharacterClass.cpp:29]:
(possible error) Memory leak: cc
Hi,
Have you ever check colorer src with static code analyzer?
It's result of cppcheck ():
- Colorer-take5.be5\Colorer-take5.be5\src\hrdsets\hrdsets.cpp:81]:
(error) Resource leak: file
- Colorer-take5.be5\Colorer-take5.be5\src\pcolorer\FarEditorSet.cpp:207]:
(error) Possible null pointer
dereference: type - otherwise it is
redundant to check if type is null at
line 208
- Colorer-take5.be5\Colorer-take5.be5\src\shared\unicode\CharacterClass.cpp:29]:
(possible error) Memory leak: cc
Can you check this ?
Thanks
: http://cppcheck.wiki.sourceforge.net/
Hi,
Thanks for the report, I've fixed the leaks (although they seemed not to be critical)