mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 23:01:24 +02:00
CLEANUP: fcgi-app: Remove useless test on fcgi_conf pointer
fcgi_conf was already tested after allocation. No need to test it again. This patch fixes the isssue #285.
This commit is contained in:
parent
a99db937c5
commit
d432b3e5c8
@ -620,8 +620,6 @@ static int proxy_parse_use_fcgi_app(char **args, int section, struct proxy *curp
|
|||||||
fcgi_conf->name = strdup(args[1]);
|
fcgi_conf->name = strdup(args[1]);
|
||||||
LIST_INIT(&fcgi_conf->param_rules);
|
LIST_INIT(&fcgi_conf->param_rules);
|
||||||
LIST_INIT(&fcgi_conf->hdr_rules);
|
LIST_INIT(&fcgi_conf->hdr_rules);
|
||||||
if (!fcgi_conf)
|
|
||||||
goto err;
|
|
||||||
|
|
||||||
/* Register the filter */
|
/* Register the filter */
|
||||||
fconf = calloc(1, sizeof(*fconf));
|
fconf = calloc(1, sizeof(*fconf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user