Bugs item #2924153, was opened at 2009-12-31 12:31 Message generated for change (Tracker Item Submitted) made by ettlmartin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2924153&group_id=125852
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: misc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: orbitcowboy (ettlmartin) Assigned to: Nobody/Anonymous (nobody) Summary: [cppcheck] found a few errors in example code Initial Comment: during a check with the static code analysis tool cppcheck (http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page) the tool found a few resource leaks and one memory leak Here the output of the tool [../example/sftp_RW_nonblock.c:287]: (Error) Resource leak: tempstorage [../example/x11.c:129]: (Error) Memory leak: temp_buff [../example/scp_write.c:201]: (Error) Resource leak: local [../example/sftp_write.c:203]: (Error) Resource leak: local Please refer the attached patch that fixes the issues Best regards Ettl Martin ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2924153&group_id=125852 _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
