bitcoin/bitcoin — pull request #1495 by Diapolo (2012-06-21 12:44:22+00:00)
Title: fix a memory leak in key.cpp

- add EC_KEY_free() in CKey::Reset() when pkey != NULL
- init pkey with NULL in CKey constructor

Fix for #1474