[Xfce4-commits] <thunar-vcs-plugin:master> Small memory footprint improvement for svn commits.
Stefan Sperling
noreply at xfce.org
Thu Sep 6 23:48:06 CEST 2012
Updating branch refs/heads/master
to 6b074e85a4312bdc75af69aec2b370f12e6f786d (commit)
from 96c2392333176454446853126cfdc9589be9518b (commit)
commit 6b074e85a4312bdc75af69aec2b370f12e6f786d
Author: Stefan Sperling <stsp at stsp.name>
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;
More information about the Xfce4-commits
mailing list