Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
2fca4a33
Commit
2fca4a33
authored
May 12, 2010
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2882. [bug] Remove memory context from list of active contexts
before clearing 'magic'. [RT #21274]
parent
43a0c58e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
CHANGES
CHANGES
+3
-0
lib/isc/mem.c
lib/isc/mem.c
+4
-4
No files found.
CHANGES
View file @
2fca4a33
2882. [bug] Remove memory context from list of active contexts
before clearing 'magic'. [RT #21274]
2881. [bug] Reduce the amount of time the rbtdb write lock
is held when closing a version. [RT #21198]
...
...
lib/isc/mem.c
View file @
2fca4a33
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: mem.c,v 1.15
5 2010/03/04 23:50:34 tbox
Exp $ */
/* $Id: mem.c,v 1.15
6 2010/05/12 00:46:55 marka
Exp $ */
/*! \file */
...
...
@@ -1050,14 +1050,14 @@ destroy(isc__mem_t *ctx) {
unsigned
int
i
;
isc_ondestroy_t
ondest
;
ctx
->
common
.
impmagic
=
0
;
ctx
->
common
.
magic
=
0
;
LOCK
(
&
lock
);
ISC_LIST_UNLINK
(
contexts
,
ctx
,
link
);
totallost
+=
ctx
->
inuse
;
UNLOCK
(
&
lock
);
ctx
->
common
.
impmagic
=
0
;
ctx
->
common
.
magic
=
0
;
INSIST
(
ISC_LIST_EMPTY
(
ctx
->
pools
));
#if ISC_MEM_TRACKLINES
...
...
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