just noticed another problem, rv never gets set here:

    apr_status_t rv;
    ...
    if ((this = apr_rmm_malloc(rmm, reqsize)) < 0) {
        return rv;
    }

thinking it should be APR_EINVAL, but the return type of apr_rmm_realloc 
is apr_rmm_off_t.  then again, both apr_rmm_{calloc,malloc} have the same 
return type but return an apr_status_t if APR_ANYLOCK_LOCK fails.
what's up with that?

Reply via email to