commit | 3f91bb3ce4c8f6e31c4051cc10799e54c3a26a3a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Apr 16 21:47:59 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Apr 16 21:47:59 2009 +0000 |
tree | fcf4f4069c6790edffeb4168566415623a177500 | |
parent | c91e40a1795629b02f682bc8216b42c5ec60fccf [diff] |
make sure to unlock keymgr if the JIT is created and destroyed, all locks must be matched with unlocks. Also, use calloc to allocate the block so that it is properly zero'd. Thanks to Nick Kledzik for tracking this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69314 91177308-0d34-0410-b5e6-96231b3b80d8