| 241 | /* RMM helper functions that behave like single-step malloc/free. */ |
| 242 | |
| 243 | static void *rmm_malloc(apr_rmm_t *rmm, apr_size_t size) |
| 244 | { |
| 245 | apr_rmm_off_t offset = apr_rmm_malloc(rmm, size); |
| 246 | |
| 247 | if (!offset) { |
| 248 | return NULL; |
| 249 | } |
| 250 | |
| 251 | return apr_rmm_addr_get(rmm, offset); |
| 252 | } |
| 253 | |
| 254 | static apr_status_t rmm_free(apr_rmm_t *rmm, void *alloc) |
| 255 | { |
no outgoing calls
no test coverage detected