diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 09:24:21 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 09:24:21 +0300 |
commit | 4f5fe208bdf07155b5295a3d908db98a303bffe7 (patch) | |
tree | ea41efa81deafd5e6350c7f00d171dd5ae47ec9c /accel-pptpd | |
parent | b398bf9a8adc7c98f22473fba9c839bbe8f1f7f6 (diff) | |
download | accel-ppp-4f5fe208bdf07155b5295a3d908db98a303bffe7.tar.gz accel-ppp-4f5fe208bdf07155b5295a3d908db98a303bffe7.zip |
move timestamp initialization to proper place
Diffstat (limited to 'accel-pptpd')
-rw-r--r-- | accel-pptpd/triton/mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/triton/mempool.c b/accel-pptpd/triton/mempool.c index 65597921..7c653e67 100644 --- a/accel-pptpd/triton/mempool.c +++ b/accel-pptpd/triton/mempool.c @@ -165,10 +165,10 @@ void __export *mempool_alloc_md(mempool_t *pool, const char *fname, int line) it->owner = p; it->magic2 = p->magic; it->magic1 = MAGIC1; - it->timestamp = 0; *(uint64_t*)(it->ptr + p->size) = it->magic2; list_add_tail(&it->entry,&p->items); #ifdef VALGRIND + it->timestamp = 0; VALGRIND_MAKE_MEM_NOACCESS(&it->owner, size - sizeof(it->entry) - sizeof(it->timestamp)); #endif it = (struct _item_t *)((char *)it + size); |