Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
8d84f282
Commit
8d84f282
authored
Sep 24, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
free header tries properly
parent
2b404e42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
format.c
src/format.c
+6
-0
hdrtrie.c
src/hdrtrie.c
+1
-0
No files found.
src/format.c
View file @
8d84f282
...
...
@@ -1556,6 +1556,12 @@ FMT_Fini(void)
free_incl
(
bincl
);
free_incl
(
rincl
);
for
(
int
i
=
0
;
i
<
MAX_VSL_TAG
;
i
++
)
if
(
hdr_trie
[
i
]
!=
NULL
)
{
HDR_Fini
(
hdr_trie
[
i
]);
hdr_trie
[
i
]
=
NULL
;
}
if
(
!
VSB_EMPTY
(
config
.
cformat
))
free_format
(
&
cformat
);
if
(
!
VSB_EMPTY
(
config
.
bformat
))
...
...
src/hdrtrie.c
View file @
8d84f282
...
...
@@ -225,5 +225,6 @@ HDR_Fini(struct hdrt_node *hdrt)
free
(
hdrt
->
str
);
for
(
int
i
=
0
;
i
<
64
;
i
++
)
HDR_Fini
(
hdrt
->
next
[
i
]);
free
(
hdrt
->
next
);
FREE_OBJ
(
hdrt
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment