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

Re: svn commit: r1099292 - /subversion/trunk/subversion/libsvn_client/delete.c

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 3 May 2011 20:24:54 -0400

On Tue, May 3, 2011 at 19:12, <rhuijben_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_client/delete.c Tue May  3 23:12:48 2011
>...
> @@ -245,16 +233,19 @@ delete_urls(const apr_array_header_t *pa
>   /* Call the path-based editor driver. */
>   err = svn_delta_path_driver(editor, edit_baton, SVN_INVALID_REVNUM,
>                               targets, path_driver_cb_func,
> -                              (void *)editor, pool);
> +                              (void *)editor, iterpool);
> +
> +  svn_pool_destroy(iterpool);
>   if (err)
>     {
>       return svn_error_return(
>                svn_error_compose_create(err,
> -                                        editor->abort_edit(edit_baton, pool)));
> +                                        editor->abort_edit(edit_baton,
> +                                                           iterpool)));

You can't use iterpool here; it was destroyed above.

>...

Cheers,
-g
Received on 2011-05-04 02:25:21 CEST

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.