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

Re: CVS update: subversion/subversion/libsvn_fs/tests skel-test.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-06 21:36:08 CEST

On Fri, Oct 06, 2000 at 06:04:40PM -0000, jimb@tigris.org wrote:
>...
> + svn_fs_kill_cleanup_node (c->pool, new);
> + svn_fs_close_node (new);

Take a look at apr_run_cleanup(). It will run the cleanup and kill it in one
fell swoop.

> DBT *
> svn_fs__track_dbt (DBT *dbt, apr_pool_t *pool)
> {
> if (dbt->data)
> apr_register_cleanup (pool, dbt->data, apr_free_cleanup, 0);
>
> return dbt;
> }

You should use apr_null_cleanup rather than NULL.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:10 2006

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