Return-Path: Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: (qmail 24195 invoked from network); 1 Aug 2010 10:39:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Aug 2010 10:39:05 -0000 Received: (qmail 3409 invoked by uid 500); 1 Aug 2010 10:39:05 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 3312 invoked by uid 500); 1 Aug 2010 10:39:03 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 3304 invoked by uid 99); 1 Aug 2010 10:39:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 10:39:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 10:38:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6B7B023888D7; Sun, 1 Aug 2010 10:37:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r981198 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Date: Sun, 01 Aug 2010 10:37:42 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100801103742.6B7B023888D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stsp Date: Sun Aug 1 10:37:42 2010 New Revision: 981198 URL: http://svn.apache.org/viewvc?rev=981198&view=rev Log: Follow-up to r980811: * subversion/libsvn_fs_fs/fs_fs.c (svn_fs_fs__hotcopy): Plug an error leak. Found by: rhuijben Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=981198&r1=981197&r2=981198&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original) +++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Sun Aug 1 10:37:42 2010 @@ -1547,6 +1547,8 @@ svn_fs_fs__hotcopy(const char *src_path, const char *dst_abspath; const char *config_relpath; + svn_error_clear(err); + config_relpath = svn_dirent_join(src_path, PATH_CONFIG, pool); SVN_ERR(svn_dirent_get_absolute(&src_abspath, src_path, pool)); SVN_ERR(svn_dirent_get_absolute(&dst_abspath, dst_path, pool));