Skip to content

Commit bf8a40b

Browse files
author
Eric Wong
committed
git-svn: fix memory leak when checking for empty symlinks
By enforcing SVN::Pool usage when calling get_file once again. This regression was introduced with the reintroduction of SVN::Ra::get_file() usage in dbc6c74 Signed-off-by: Eric Wong <[email protected]>
1 parent 5dc1308 commit bf8a40b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-svn.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,8 @@ package Git::SVN::Ra;
40214021
BEGIN {
40224022
# enforce temporary pool usage for some simple functions
40234023
no strict 'refs';
4024-
for my $f (qw/rev_proplist get_latest_revnum get_uuid get_repos_root/) {
4024+
for my $f (qw/rev_proplist get_latest_revnum get_uuid get_repos_root
4025+
get_file/) {
40254026
my $SUPER = "SUPER::$f";
40264027
*$f = sub {
40274028
my $self = shift;

0 commit comments

Comments
 (0)