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
89872065
Commit
89872065
authored
Apr 11, 2023
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the backported fix for #13 (adds a NULL check).
parent
3916146f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
node.c
src/node.c
+7
-5
No files found.
src/node.c
View file @
89872065
...
...
@@ -624,11 +624,13 @@ fini_subreq(const struct vdp_ctx *vdx, struct node *node)
assert
(
node
->
type
==
T_SUBREQ
);
CAST_OBJ_NOTNULL
(
subreq
,
node
->
subreq
.
req
,
REQ_MAGIC
);
CAST_OBJ_NOTNULL
(
pesi
,
subreq
->
transport_priv
,
PESI_MAGIC
);
CHECK_OBJ_NOTNULL
(
pesi
->
pesi_tree
,
PESI_TREE_MAGIC
);
CHECK_OBJ_NOTNULL
(
pesi
->
pesi_tree
->
tree
,
BYTES_TREE_MAGIC
);
subreq_wait_done
(
node
,
pesi
->
pesi_tree
->
tree
);
if
(
node
->
subreq
.
req
!=
NULL
)
{
CAST_OBJ
(
subreq
,
node
->
subreq
.
req
,
REQ_MAGIC
);
CAST_OBJ_NOTNULL
(
pesi
,
subreq
->
transport_priv
,
PESI_MAGIC
);
CHECK_OBJ_NOTNULL
(
pesi
->
pesi_tree
,
PESI_TREE_MAGIC
);
CHECK_OBJ_NOTNULL
(
pesi
->
pesi_tree
->
tree
,
BYTES_TREE_MAGIC
);
subreq_wait_done
(
node
,
pesi
->
pesi_tree
->
tree
);
}
AN
(
node
->
subreq
.
done
);
...
...
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