Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
a8946d74
Commit
a8946d74
authored
Jul 30, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
probably a better name...
parent
86779209
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vdp_pesi.c
src/vdp_pesi.c
+4
-4
No files found.
src/vdp_pesi.c
View file @
a8946d74
...
...
@@ -497,7 +497,7 @@ node_fini(struct req *req, struct node *node)
/* recursively free all nodes == free the tree */
static
void
nod
e_free
(
struct
req
*
req
,
struct
node
*
node
)
tre
e_free
(
struct
req
*
req
,
struct
node
*
node
)
{
struct
node
*
child
,
*
tmp
;
...
...
@@ -506,7 +506,7 @@ node_free(struct req *req, struct node *node)
if
(
node
->
type
==
T_NEXUS
)
VSTAILQ_FOREACH_SAFE
(
child
,
&
node
->
nexus
.
children
,
sibling
,
tmp
)
nod
e_free
(
req
,
child
);
tre
e_free
(
req
,
child
);
node_fini
(
req
,
node
);
MPL_Free
(
mempool
,
node
);
...
...
@@ -1607,7 +1607,7 @@ bytes_push_worklist(struct req *req, struct bytes_tree *tree,
}
/* not running the finis in the error case, they
* will be called from final cleanup via
nod
e_free()
* will be called from final cleanup via
tre
e_free()
*
* this avoids waiting for subreq tasks
*/
...
...
@@ -2075,7 +2075,7 @@ vdp_pesi_fini(struct req *req, void **priv)
Lck_Delete
(
&
bytes_tree
->
tree_lock
);
AZ
(
pthread_cond_destroy
(
&
bytes_tree
->
cond
));
nod
e_free
(
req
,
bytes_tree
->
root
);
tre
e_free
(
req
,
bytes_tree
->
root
);
*
priv
=
NULL
;
return
(
0
);
...
...
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