On Tue, 2003-08-12 at 20:20, Cliff Woolley wrote: > Any objections to the following patch? All you do is pass > -DAPR_BUCKET_DEBUG to ./configure and then several things happen: > > 1) the brigades get checked for consistency at various strategic points > 2) and apr_bucket_free() calls are checked for double-free conditions > (eg, you destroyed the same bucket twice, or destroyed one and then > kept on using it, which causes all kinds of nasty and impossible to > debug things to happen). > > If you don't define APR_BUCKET_DEBUG, it's all a no-op and is thrown away > by the preprocessor.
+1 Brian
