Updating branch refs/heads/master
         to 6b074e85a4312bdc75af69aec2b370f12e6f786d (commit)
       from 96c2392333176454446853126cfdc9589be9518b (commit)

commit 6b074e85a4312bdc75af69aec2b370f12e6f786d
Author: Stefan Sperling <[email protected]>
Date:   Thu Sep 6 19:07:31 2012 +0200

    Small memory footprint improvement for svn commits.
    
    While adding unversioned files for commit, clear the
    subpool during each iteration to make memory footprint
    independent of the number of loop iterations.

 tvp-svn-helper/tsh-commit.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tvp-svn-helper/tsh-commit.c b/tvp-svn-helper/tsh-commit.c
index 7c7ae0e..0275ed8 100644
--- a/tvp-svn-helper/tsh-commit.c
+++ b/tvp-svn-helper/tsh-commit.c
@@ -106,6 +106,7 @@ static gpointer commit_thread (gpointer user_data)
             svn_error_clear(err);
             result = FALSE;//FIXME: needed ??
           }
+          svn_pool_clear(subpool);
           break;
         default:
           break;
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to