diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-11-21 17:31:00 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-11-21 17:31:00 +0300 |
commit | a09fdabf7939819581c6b7797b180a18c4f477fa (patch) | |
tree | 4cfaa02377ff7a660c53099c300de0890dff5d3f /accel-pptpd/memdebug.c | |
parent | ddad202eca1c0a1d95321bd396df0dda01620a2b (diff) | |
download | accel-ppp-a09fdabf7939819581c6b7797b180a18c4f477fa.tar.gz accel-ppp-a09fdabf7939819581c6b7797b180a18c4f477fa.zip |
bug fixes
Diffstat (limited to 'accel-pptpd/memdebug.c')
-rw-r--r-- | accel-pptpd/memdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/memdebug.c b/accel-pptpd/memdebug.c index 2acdc7a8..d36779e1 100644 --- a/accel-pptpd/memdebug.c +++ b/accel-pptpd/memdebug.c @@ -39,7 +39,7 @@ struct mem_t }; static LIST_HEAD(mem_list); -static spinlock_t mem_list_lock; +static spinlock_t mem_list_lock = SPINLOCK_INITIALIZER; struct mem_t *_md_malloc(size_t size, const char *fname, int line) { |