g10: Fix memory leak.
* g10/getkey.c (finish_lookup): Clarify that we do not return a reference. (lookup): Clarify the relation between RET_KEYBLOCK and RET_FOUND_KEY. Check arguments. Actually release the node if it is not returned.
- Signed-off-by: Justus Winter <justus@g10code.com>