>Submitter-Id: net >Originator: Petter Reinholdtsen >Organization: net >Confidential: no >Synopsis: Small memleak when connecting to pserver >Severity: non-critical >Priority: low >Category: cvs >Class: sw-bug >Release: cvs-1.11 >Environment: System: SunOS golem.intern.opera.no 5.8 Generic sun4u sparc SUNW,Ultra-250 Architecture: sun4 >Description: I ran CVS 1.11 through Purify, and only found one small memleak. get_cvs_password() return a string pointer allocated on the heap, but it is not released in connect_to_pserver(). >How-To-Repeat: >Fix: This patch fixes the problem: *** src/client.c.orig Sat Apr 28 13:14:58 2001 --- src/client.c Sat Apr 28 13:15:37 2001 *************** *** 3859,3864 **** --- 3859,3865 ---- /* Paranoia. */ memset (password, 0, strlen (password)); + free(password); } { _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs