diff options
author | unknown <Nick Mathewson@.(none)> | 2009-12-21 16:36:40 -0500 |
---|---|---|
committer | unknown <Nick Mathewson@.(none)> | 2009-12-21 16:36:40 -0500 |
commit | c51bb3c342a02536a74ed8c4e739dc76dd145c70 (patch) | |
tree | 29c5447a0a93049f707f9515d105fa98f031e598 /evthread.c | |
parent | 5a112d3c0748d8e65c0fd36c2717dd3fe7c0639b (diff) | |
download | libevent-c51bb3c342a02536a74ed8c4e739dc76dd145c70.tar.gz |
Fix a few locking issues on windows.
Diffstat (limited to 'evthread.c')
-rw-r--r-- | evthread.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -170,6 +170,8 @@ debug_lock_alloc(unsigned locktype) mm_free(result); return NULL; } + } else { + result->lock = NULL; } result->locktype = locktype; result->count = 0; |