Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-objvar
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
varnish-objvar
Commits
d6fb1539
Unverified
Commit
d6fb1539
authored
Oct 17, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bad free with globalvar.blob
we use a single malloc for struct vrt_blob and the blob data it points to
parent
cfdab601
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
type_cp.h
src/type_cp.h
+0
-2
No files found.
src/type_cp.h
View file @
d6fb1539
...
...
@@ -88,8 +88,6 @@ static const struct vrt_blob null_blob[1] = {{
} while(0)
#define FREE_BLOB(ptr) \
if ((ptr) != NULL && (ptr) != null_blob) { \
if ((ptr)->blob) \
free(TRUST_ME(ptr->blob)); \
free(TRUST_ME(ptr)); \
(ptr) = NULL; \
} \
...
...
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