stef...@apache.org wrote on Sun, Apr 17, 2011 at 14:48:34 -0000:
> +static svn_error_t *
> +init_txn_callbacks(svn_cache__t **cache,
> +                   apr_pool_t *pool)
> +{
...
> @@ -386,10 +426,17 @@ svn_fs_fs__initialize_txn_caches(svn_fs_
>                                          pool));
>  
>    /* reset the transaction-specific cache if the pool gets cleaned up. */
> -  apr_pool_cleanup_register(pool,
> -                            &(ffd->txn_dir_cache),
> -                            remove_txn_cache,
> -                            apr_pool_cleanup_null);
> +  init_txn_callbacks(&(ffd->txn_dir_cache), pool);

Error leak.

Reply via email to