subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r981198 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
Date Sun, 01 Aug 2010 10:37:42 GMT
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));



Mime
View raw message