From: Jim Meyering Date: Wed, 13 May 1998 03:47:02 +0000 (+0000) Subject: (copy_internal): Plug a small leak. X-Git-Tag: FILEUTILS-3_16o~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15aac9a45d9115193fbdfcc679a501069045a40f;p=thirdparty%2Fcoreutils.git (copy_internal): Plug a small leak. --- diff --git a/src/copy.c b/src/copy.c index 0b0036b999..d43d686dc9 100644 --- a/src/copy.c +++ b/src/copy.c @@ -507,6 +507,7 @@ copy_internal (const char *src_path, const char *dst_path, ? _("backing up `%s' would destroy source; `%s' not moved") : _("backing up `%s' would destroy source; `%s' not copied")); error (0, 0, fmt, dst_path, src_path); + free (tmp_backup); return 1; }