BUG/MINOR: contrib/halog: fixing small memory leak

Issue was identified by cppcheck
This commit is contained in:
Ilya Shipitsin 2017-09-22 22:33:16 +05:00 committed by Willy Tarreau
parent 93e8b88f06
commit 4473a2e9aa
1 changed files with 1 additions and 0 deletions

View File

@ -1569,6 +1569,7 @@ void filter_count_url(const char *accept_field, const char *time_field, struct t
if (unlikely(!*e)) { if (unlikely(!*e)) {
truncated_line(linenum, line); truncated_line(linenum, line);
free(ustat);
return; return;
} }