Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
unique-xids
Commits
959a7b3e
Commit
959a7b3e
authored
Feb 07, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release the esi_data storage when we release the object storage
it refers to.
parent
b4916ea1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cache_hash.c
bin/varnishd/cache_hash.c
+0
-4
stevedore.c
bin/varnishd/stevedore.c
+4
-0
No files found.
bin/varnishd/cache_hash.c
View file @
959a7b3e
...
...
@@ -691,10 +691,6 @@ HSH_Deref(struct worker *w, struct objcore *oc, struct object **oo)
DSL
(
0x40
,
SLT_Debug
,
0
,
"Object %u workspace min free %u"
,
o
->
xid
,
WS_Free
(
o
->
ws_o
));
if
(
o
->
esidata
!=
NULL
)
{
STV_free
(
o
->
esidata
);
o
->
esidata
=
NULL
;
}
if
(
oc
!=
NULL
)
oc_freeobj
(
oc
);
w
->
stats
.
n_object
--
;
...
...
bin/varnishd/stevedore.c
View file @
959a7b3e
...
...
@@ -301,6 +301,10 @@ STV_Freestore(struct object *o)
{
struct
storage
*
st
,
*
stn
;
if
(
o
->
esidata
!=
NULL
)
{
STV_free
(
o
->
esidata
);
o
->
esidata
=
NULL
;
}
VTAILQ_FOREACH_SAFE
(
st
,
&
o
->
store
,
list
,
stn
)
{
CHECK_OBJ_NOTNULL
(
st
,
STORAGE_MAGIC
);
VTAILQ_REMOVE
(
&
o
->
store
,
st
,
list
);
...
...
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