Commit c64a3138 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

fix memory leak. Reported by <christophe.jaillet@wanadoo.fr>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@330380 13f79535-47bb-0310-9956-ffa450edef68
parent 98e60225
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -568,6 +568,7 @@ static apr_status_t serialize_table(cache_header_tbl_t **obj,
    /* Transfer the headers into a contiguous memory block */
    buf = malloc(len);
    if (!buf) {
        free(*obj);
        *obj = NULL;
        return APR_ENOMEM;
    }