Neil Conway wrote: > Unfortunately, the APR hash table API doesn't provide any means to > report errors, so we can't easily propagate apr_pool_create() failures > back to the client program. Presuming changing the APR hash API isn't > an option for 1.3.x / 1.4.x, is there a better solution than just > ignoring apr_pool_create() failures?
Hmmm. I think it's reasonable to return NULL in the failure cases, where NULL means "out of memory". Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature