diff options
Diffstat (limited to 'src/lib/protocols')
-rw-r--r-- | src/lib/protocols/fastcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/fastcgi.c b/src/lib/protocols/fastcgi.c index fdbb91c09..9fad2c044 100644 --- a/src/lib/protocols/fastcgi.c +++ b/src/lib/protocols/fastcgi.c @@ -143,7 +143,7 @@ static int fcgi_parse_params(struct ndpi_flow_struct * const flow, if (flow->http.url == NULL && packet->http_url_name.len > 0) { - flow->http.url = malloc(packet->http_url_name.len + 1); + flow->http.url = ndpi_malloc(packet->http_url_name.len + 1); if (flow->http.url != NULL) { strncpy(flow->http.url, (char const *)packet->http_url_name.ptr, packet->http_url_name.len); |