Commit 56480fe1 authored by Joe Orton's avatar Joe Orton
Browse files

* support/ab.c (test): Catch more calloc failures.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082586 13f79535-47bb-0310-9956-ffa450edef68
parent d479dbbd
Loading
Loading
Loading
Loading
+1 −1
Changes for support/ab.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1606,7 +1606,7 @@ static void test(void)
     * XXX: would be nice.
     */
    stats = calloc(requests, sizeof(struct data));
    if (stats == NULL) {
    if (stats == NULL || con == NULL) {
    	err("Cannot allocate memory for result statistics");
    }