[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
leaking in normalize_cvsroot.
From: |
鯉江英隆 |
Subject: |
leaking in normalize_cvsroot. |
Date: |
Thu, 19 Oct 2000 16:41:58 +0900 |
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>
- leaking in normalize_cvsroot.,
鯉江英隆 <=