projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e8b88
)
BUG/MINOR: contrib/halog: fixing small memory leak
author
Ilya Shipitsin
<chipitsine@gmail.com>
Fri, 22 Sep 2017 17:33:16 +0000
(22:33 +0500)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 3 Oct 2017 11:52:45 +0000
(13:52 +0200)
Issue was identified by cppcheck
contrib/halog/halog.c
patch
|
blob
|
history
diff --git
a/contrib/halog/halog.c
b/contrib/halog/halog.c
index
fc927bd
..
cb815d8
100644
(file)
--- a/
contrib/halog/halog.c
+++ b/
contrib/halog/halog.c
@@
-1569,6
+1569,7
@@
void filter_count_url(const char *accept_field, const char *time_field, struct t
if (unlikely(!*e)) {
truncated_line(linenum, line);
+ free(ustat);
return;
}