Fixed broken build.

This commit is contained in:
Ruslan Ermilov 2012-05-28 14:20:04 +00:00
parent 9fbd0d7c1d
commit 49fbd88466

View File

@ -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;