Commit a190a3f3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Assert that realloc() did.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3490 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 428b5e30
......@@ -908,6 +908,7 @@ MCF_AddParams(const struct parspec *ps)
n++;
}
parspec = realloc(parspec, (nparspec + n + 1) * sizeof *parspec);
XXXAN(parspec);
for (pp = ps; pp->name != NULL; pp++)
parspec[nparspec++] = pp;
parspec[nparspec] = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment