CVS update: /ccvs/src/

[email protected] 15 Mar 2005 17:52:21 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
User: dprice  
Date: 05/03/15 09:52:21

Modified:
 /ccvs/src/
  ChangeLog, patch.c

Log:
 Merge changes from 1.11.x.

File Changes:

Directory: /ccvs/src/
=====================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/src/ChangeLog?r1=1.3141&r2=1.3142
Delta lines:  +5 -0
-------------------
--- ChangeLog	12 Mar 2005 23:40:19 -0000	1.3141
+++ ChangeLog	15 Mar 2005 17:52:19 -0000	1.3142
@@ -1,3 +1,8 @@
+2005-03-15  Derek Price  <[email protected]>
+
+	* patch.c (patch_proc): Avoid memory leak.
+	(Thanks to report from Alen Zukich <[email protected]>.)
+
 2005-03-12  Mark D. Baushke  <[email protected]>
 
 	* server.c (receive_partial_file): Use ssize_t to deal with < 0

File [changed]: patch.c
Url: https://ccvs.cvshome.org/source/browse/ccvs/src/patch.c?r1=1.98&r2=1.99
Delta lines:  +1 -0
-------------------
--- patch.c	1 Feb 2005 22:20:06 -0000	1.98
+++ patch.c	15 Mar 2005 17:52:19 -0000	1.99
@@ -340,6 +340,7 @@
     {
 	error (0, errno, "cannot chdir to %s", repository);
 	free (repository);
+	free (where);
 	return 1;
     }