mirror of
https://github.com/nginx/nginx.git
synced 2025-01-15 19:12:13 -06:00
Fixed broken build.
This commit is contained in:
parent
9fbd0d7c1d
commit
49fbd88466
@ -310,7 +310,7 @@ ngx_http_geoip_org_variable(ngx_http_request_t *r,
|
|||||||
len = ngx_strlen(val);
|
len = ngx_strlen(val);
|
||||||
v->data = ngx_pnalloc(r->pool, len);
|
v->data = ngx_pnalloc(r->pool, len);
|
||||||
if (v->data == NULL) {
|
if (v->data == NULL) {
|
||||||
ngx_free(val);
|
ngx_free((void *) val);
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ ngx_http_geoip_org_variable(ngx_http_request_t *r,
|
|||||||
v->no_cacheable = 0;
|
v->no_cacheable = 0;
|
||||||
v->not_found = 0;
|
v->not_found = 0;
|
||||||
|
|
||||||
ngx_free(val);
|
ngx_free((void *) val);
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user