[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: leaking in normalize_cvsroot.
From: |
Derek R. Price |
Subject: |
Re: leaking in normalize_cvsroot. |
Date: |
Fri, 20 Oct 2000 13:38:35 -0400 |
"KOIE Hidetaka ($B8q9>1QN4(B)" wrote:
> Plug memory leak.
>
> Index: root.c
> ===================================================================
> RCS file: /home2/cvsroot/ccvs/src/root.c,v
> retrieving revision 1.45
> diff -p -u -b -B -r1.45 root.c
> --- root.c 2000/10/18 19:32:11 1.45
> +++ root.c 2000/10/19 07:37:44
> @@ -642,6 +642,7 @@ normalize_cvsroot (default_user, default
> CVSroot_username ? CVSroot_username : default_user,
> hostname, port_s, CVSroot_directory);
>
> + free (hostname);
> return cvsroot_canonical;
> }
> #endif AUTH_CLIENT_SUPPORT
>
> --
> KOIE Hidetaka <hide@koie.org>
Checked in. Thanks.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@openavenue.com OpenAvenue ( http://OpenAvenue.com )
--
I will not torment the emotionally frail.
I will not torment the emotionally frail.
I will not torment the emotionally frail...
- Bart Simpson on chalkboard, _The Simpsons_