projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5726d64
)
Fixed memory leaks (experimental)
author
khizmax
<khizmax@gmail.com>
Tue, 29 Nov 2016 14:57:12 +0000
(17:57 +0300)
committer
khizmax
<khizmax@gmail.com>
Tue, 29 Nov 2016 14:57:12 +0000
(17:57 +0300)
cds/algo/flat_combining/kernel.h
patch
|
blob
|
history
diff --git
a/cds/algo/flat_combining/kernel.h
b/cds/algo/flat_combining/kernel.h
index f8dd398ca4ba9a4f17002cbd23ed139679adb9cd..c0a3a7dcba7ed61630bd963d9b661923ad3b3ebf 100644
(file)
--- a/
cds/algo/flat_combining/kernel.h
+++ b/
cds/algo/flat_combining/kernel.h
@@
-297,8
+297,7
@@
namespace cds { namespace algo {
publication_record * pRec = p;
p = p->pNext.load( memory_model::memory_order_relaxed );
- if ( pRec->nState.load( memory_model::memory_order_acquire ) == removed )
- free_publication_record( static_cast<publication_record_type *>( pRec ));
+ free_publication_record( static_cast<publication_record_type *>( pRec ));
}
}