Re: svn commit: rev 7466 - trunk/subversion/libsvn_ra_dav
From: Greg Stein <gstein_at_lyra.org>
Date: 2003-10-22 12:54:09 CEST
On Tue, Oct 21, 2003 at 03:16:28PM -0500, kfogel@tigris.org wrote:
Hmm. Where do you suppose *statstruct is allocated? Do you ever free it? I
Kind of suspicious here, don't you think? :-)
> - *code = statstruct->code;
Hey... look at this. We destroy the request. But wait. Is it possible that
[check... check...]
It sure does. What do you know? No need to free statstruct above. Whew.
[ wait for it... wait... ]
> ne_xml_destroy(error_parser);
Oh. Um. Maybe not so good.
:-)
Cheers,
p.s. I'd suggest copying statstruct->code into a local var :-)
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Oct 22 12:59:38 2003 |
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.