Commit 845d5ca0 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

No need to zero memory that we will overwrite anyway


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1198934 13f79535-47bb-0310-9956-ffa450edef68
parent 5e59fd7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -420,7 +420,7 @@ static apr_status_t regsub_core(apr_pool_t *p, char **result,
        return APR_ENOMEM;

    if (!vb) {
        *result = dst = apr_pcalloc(p, len + 1);
        *result = dst = apr_palloc(p, len + 1);
    }
    else {
        if (vb->buf && vb->strlen == AP_VARBUF_UNKNOWN)