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

Re: svn commit: r18353 - trunk/subversion/libsvn_ra_serf

From: Greg Stein <gstein_at_lyra.org>
Date: 2006-02-07 21:29:17 CET

Why don't you just use apr_pcalloc() ??

On Mon, Feb 06, 2006 at 03:43:06PM -0600, jerenkrantz@tigris.org wrote:
> Author: jerenkrantz
> Date: Mon Feb 6 15:43:05 2006
> New Revision: 18353
>
> Modified:
> trunk/subversion/libsvn_ra_serf/update.c
>
> Log:
> ra_serf: Properly init two fields to NULL.
>
> * subversion/libsvn_ra_serf/update.c
> (svn_ra_serf__do_update): Init ->free_info and ->free_state to NULL;
>
>
> Modified: trunk/subversion/libsvn_ra_serf/update.c
> Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/libsvn_ra_serf/update.c?rev=18353&p1=trunk/subversion/libsvn_ra_serf/update.c&p2=trunk/subversion/libsvn_ra_serf/update.c&r1=18352&r2=18353
> ==============================================================================
> --- trunk/subversion/libsvn_ra_serf/update.c (original)
> +++ trunk/subversion/libsvn_ra_serf/update.c Mon Feb 6 15:43:05 2006
> @@ -1009,8 +1009,9 @@
> report->update_baton = update_baton;
> report->active_fetches = NULL;
> report->active_propfinds = NULL;
> + report->free_info = NULL;
> + report->free_state = NULL;
> report->done = FALSE;
> - report->free_info = 0;
>
> /* Create our XML parser */
> report->xmlp = XML_ParserCreate(NULL);
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 7 21:30:48 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.