subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1439859 - /subversion/trunk/subversion/libsvn_wc/workqueue.c
Date Tue, 29 Jan 2013 12:35:36 GMT
Author: philip
Date: Tue Jan 29 12:35:36 2013
New Revision: 1439859

URL: http://svn.apache.org/viewvc?rev=1439859&view=rev
Log:
* subversion/libsvn_wc/workqueue.c (run_postupgrade): Fix an error leak.

Modified:
    subversion/trunk/subversion/libsvn_wc/workqueue.c

Modified: subversion/trunk/subversion/libsvn_wc/workqueue.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/workqueue.c?rev=1439859&r1=1439858&r2=1439859&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/workqueue.c (original)
+++ subversion/trunk/subversion/libsvn_wc/workqueue.c Tue Jan 29 12:35:36 2013
@@ -416,6 +416,8 @@ run_postupgrade(svn_wc__db_t *db,
   if (err && err->apr_err == SVN_ERR_ENTRY_NOT_FOUND)
     /* No entry, this can happen when the wq item is rerun. */
     svn_error_clear(err);
+  else
+    SVN_ERR(err);
 
   SVN_ERR(svn_wc__db_get_wcroot(&wcroot_abspath, db, wri_abspath,
                                 scratch_pool, scratch_pool));



Mime
View raw message