Skip to content

Commit 4c03c3e

Browse files
Eric WongJunio C Hamano
authored andcommitted
git-svn: fix segfaults due to initial SVN pool being cleared
Some parts of SVN always seem to use it, even if the SVN::Ra object we're using is no longer used and we've created a new one in its place. It's also true that only one SVN::Ra connection can exist at once... Using SVN::Pool->new_default when the SVN::Ra object is created doesn't seem to help very much, either... Hopefully this fixes all segfault problems users have been experiencing over the past few months. Signed-off-by: Eric Wong <[email protected]>
1 parent 0dc03d6 commit 4c03c3e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

git-svn.perl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,6 @@ sub new {
29042904
my ($class, $url) = @_;
29052905
$url =~ s!/+$!!;
29062906
return $RA if ($RA && $RA->{url} eq $url);
2907-
$RA->{pool}->clear if $RA;
29082907

29092908
SVN::_Core::svn_config_ensure($config_dir, undef);
29102909
my ($baton, $callbacks) = SVN::Core::auth_open_helper([

0 commit comments

Comments
 (0)