[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r22957 - trunk/subversion/libsvn_client

From: Vlad Georgescu <vgeorgescu_at_gmail.com>
Date: 2007-01-21 16:31:06 CET

Hi,

hwright@tigris.org wrote:
[...]
> + err = setup_copy(commit_info_p,
> + src_paths, src_revision,
> + svn_path_join(dst_path, src_basename, pool),
> + FALSE /* is_move */,
> + TRUE /* force, set to avoid deletion check */,
> + ctx,
> + subpool);
> }
>
> + svn_pool_destroy(subpool);
> +

Looks like you're destroying the pool in which *commit_info_p was
allocated. (I compile APR with --enable-pool-debug, which makes it much
more likely that these kinds of problems will cause a segfault later on).

[...]
> + err = setup_copy(commit_info_p, src_paths, &src_revision,
> + svn_path_join(dst_path, src_basename, pool),
> + TRUE /* is_move */,
> + force,
> + ctx,
> + subpool);
> }
>
> + svn_pool_destroy(subpool);
> +
> return err;
> }

Same here.

-- 
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 21 16:31:51 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.