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

Re: use of svn_pool_ functions

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-10-14 22:58:35 CEST

[Asbjørn Pettersen]
> pool = svn_pool_create(NULL);
> err = svn_ra_initialize(pool);
> if (err)
> {
> svn_handle_error2(err, stderr, FALSE, "svnsync: ");
> // no destoy here either?
> return EXIT_FAILURE;
> }

There is no need to clean up memory allocations when you are about to
exit the entire program. The will do that for you about 1 millisecond
later. The only real point of freeing memory at that stage is to
reduce log output when running with memory leak checking tools.

Received on Sat Oct 14 22:58:49 2006

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.