Commit 51db7f2b authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Fix a storage leak introduced by my patch last night. Free the req_hdrs on cleanup.

Submitted by: Jean-Jacques Clar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95528 13f79535-47bb-0310-9956-ffa450edef68
parent 6a6edb90
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -181,6 +181,11 @@ static void cleanup_cache_object(cache_object_t *obj)
                free(mobj->notes[0].hdr);
            free(mobj->notes);
        }
        if (mobj->req_hdrs) {
            if (mobj->req_hdrs[0].hdr)
                free(mobj->req_hdrs[0].hdr);
            free(mobj->req_hdrs);
        }
        free(mobj);
    }
    return;