Commit c203139f authored by Yann Ylavic's avatar Yann Ylavic
Browse files

mod_slotmem_shm: follow up to r1830800, preserve callee API.

The caller might (and actually balancer_child_init() does) rely on
slotmem_attach() to not mangle the passed in/out slotmem pointer on
failure.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1831394 13f79535-47bb-0310-9956-ffa450edef68
parent 18966e0c
Loading
Loading
Loading
Loading
+0 −1
Changes for modules/slotmem/mod_slotmem_shm.c: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -586,7 +586,6 @@ static apr_status_t slotmem_attach(ap_slotmem_instance_t **new,
    apr_shm_t *shm;
    apr_status_t rv;

    *new = NULL;
    ap_mpm_query(AP_MPMQ_GENERATION, &generation);

    if (!slotmem_filenames(pool, name, &fname, NULL)) {