Page MenuHome GnuPG

Double _gcry_module_release() call in gcry_cipher_open()
Closed, ResolvedPublic

Description

There is a superfluous _gcry_module_release() call in the gcry_cipher_open()
which is called in case the module is disabled. At the end of the function there
is a cleanup in case the err is set which calls _gcry_module_release() again.

Trivial patch attached.

Details

Version
1.4.5

Event Timeline

werner claimed this task.

Fixed in trunk and 1.4. Thanks.

(I hate these if-not-error ladders)