Cliff Woolley wrote: >On Wed, 4 Sep 2002, Brian Pane wrote: > > > >>That's not guaranteed. The API, as currently documented, only >>guarantees that it will return an apr_bucket_brigade*, not that >>it will be non-null. >> >> > >It's non-null as long as apr_palloc returns non-null. Which it is. In >other words, it is part of the API. You want me to document it? Fine, I >will. :) > >
Thanks. With the current documentation, there's no guarantee that apr_brigade_create() uses apr_palloc(). In fact, the comments for apr_brigade_create() explicitly state that "data is not allocated of the pool." Brian
