Avoid double return of unique_ptr
Avoid double return of unique_ptr

Flagged by Coverity

randombit/botan,webmaster128/botan,randombit/botan,randombit/botan,webmaster128/botan,webmaster128/botan,randombit/botan,webmaster128/botan,webmaster128/botan,randombit/botan