From 91308aec6ca93cab82659cd43b3f6a83d366350b Mon Sep 17 00:00:00 2001 From: svnmir Date: Sun, 9 Aug 2015 04:37:48 +0000 Subject: Vendor import subversion-1.8.14 --- subversion/libsvn_repos/commit.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'subversion/libsvn_repos/commit.c') diff --git a/subversion/libsvn_repos/commit.c b/subversion/libsvn_repos/commit.c index 77fe846..22cf873 100644 --- a/subversion/libsvn_repos/commit.c +++ b/subversion/libsvn_repos/commit.c @@ -777,6 +777,13 @@ close_edit(void *edit_baton, post_commit_err = svn_repos__post_commit_error_str(err, pool); svn_error_clear(err); } + + /* Make sure a future abort doesn't perform + any work. This may occur if the commit + callback returns an error! */ + + eb->txn = NULL; + eb->txn_root = NULL; } else { -- cgit v1.1