Hi friends,
i checked the projects source code with an static code analysis tool (cppcheck). I brought up a few issues:
(i used the following command to start the code analysis:"taco-3.96.2.2$ cppcheck -a -f -q -j 5 ." )
The check result:
[./lib/dbase/update_cli.c:387]: (error) Resource leak: file
[./lib/signal/DSSignal.c:1085]: (error) Overlapping data buffer tmp
[./lib/signal/MDSSignal_config.c:633]: (all) Memory leak: sig_res
[./lib/gen_api.c:1756]: (error) Memory leak: nethost_tmp
[./lib/tango/attr_api.cpp:71]: (all) Memory leak: attr
[./system/dbase/greta/greta_cb.c:717]: (all) Memory leak: text_class
[./system/dbase/greta/greta_cb.c:947]: (error) Overlapping data buffer filter_text
[./system/dbase/greta/greta_cb.c:955]: (error) Overlapping data buffer filter_text
[./system/dbase/greta/greta_misc.c:312]: (error) Resource leak: stream
[./system/dbase/greta/servutil.c:293]: (error) Memory leak: out
[./system/dbase/tools/db_fillup.cpp:272]: (error) Resource leak: file
[./system/dc/tools/dc_devall.c:260]: (error) Memory leak: dev_host
[./system/dc/tools/dc_mem.c:328]: (error) Memory leak: shm_name
[./system/dc/tools/dc_patch.c:287]: (error) Memory leak: shm_name
Best regards
Ettl Martin