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

Re: svn commit: r958889 - /subversion/trunk/subversion/tests/svn_test_main.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 30 Jun 2010 09:45:48 +0300 (Jerusalem Daylight Time)

The next function in the file (svn_test_add_dir_cleanup()) needs the
same fix.

rhuijben_at_apache.org wrote on Tue, 29 Jun 2010 at 12:06 -0000:
> Author: rhuijben
> Date: Tue Jun 29 09:06:51 2010
> New Revision: 958889
>
> URL: http://svn.apache.org/viewvc?rev=958889&view=rev
> Log:
> * subversion/tests/svn_test_main.c
> (cleanup_rmtree): Remove error leak.
>
> Modified:
> subversion/trunk/subversion/tests/svn_test_main.c
>
> Modified: subversion/trunk/subversion/tests/svn_test_main.c
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=958889&r1=958888&r2=958889&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/tests/svn_test_main.c (original)
> +++ subversion/trunk/subversion/tests/svn_test_main.c Tue Jun 29 09:06:51 2010
> @@ -107,6 +107,7 @@ cleanup_rmtree(void *data)
>
> /* Ignore errors here. */
> svn_error_t *err = svn_io_remove_dir2(path, FALSE, NULL, NULL, pool);
> + svn_error_clear(err);
> if (verbose_mode)
> {
> if (err)
>
>
>
Received on 2010-06-30 08:46:07 CEST

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